# -*- coding: utf-8 -*-"""Dummy backend for unsupported platforms."""from__future__importannotations# local importsfrom.baseimportNotification,DesktopNotifierBase
[docs]classDummyNotificationCenter(DesktopNotifierBase):"""A dummy backend for unsupported platforms"""def__init__(self,app_name:str="Python",notification_limit:int|None=None,)->None:super().__init__(app_name,notification_limit)
[docs]asyncdefrequest_authorisation(self)->bool:""" Request authorisation to send notifications. :returns: Whether authorisation has been granted. """returnTrue
[docs]asyncdefhas_authorisation(self)->bool:""" Whether we have authorisation to send notifications. """returnTrue