diff options
author | morpheus65535 <[email protected]> | 2024-05-12 23:16:01 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2024-05-12 23:16:01 -0400 |
commit | 9cb2708909420dbd2d9b0ae637a3bbde410e5176 (patch) | |
tree | 3d7b9d66e050e1be0402dae4368e7b946332eb9e /libs | |
parent | d70a92e9476e61b12a79c5642629ed81c9ad703f (diff) | |
download | bazarr-9cb2708909420dbd2d9b0ae637a3bbde410e5176.tar.gz bazarr-9cb2708909420dbd2d9b0ae637a3bbde410e5176.zip |
no log: Delete libs/apprise/Apprise.pyi
Diffstat (limited to 'libs')
-rw-r--r-- | libs/apprise/Apprise.pyi | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/libs/apprise/Apprise.pyi b/libs/apprise/Apprise.pyi deleted file mode 100644 index 5a34c9c65..000000000 --- a/libs/apprise/Apprise.pyi +++ /dev/null @@ -1,62 +0,0 @@ -from typing import Any, Dict, List, Iterable, Iterator, Optional - -from . import (AppriseAsset, AppriseAttachment, AppriseConfig, ConfigBase, - NotifyBase, NotifyFormat, NotifyType) -from .common import ContentLocation - -_Server = Union[str, ConfigBase, NotifyBase, AppriseConfig] -_Servers = Union[_Server, Dict[Any, _Server], Iterable[_Server]] -# Can't define this recursively as mypy doesn't support recursive types: -# https://github.com/python/mypy/issues/731 -_Tag = Union[str, Iterable[Union[str, Iterable[str]]]] - -class Apprise: - def __init__( - self, - servers: _Servers = ..., - asset: Optional[AppriseAsset] = ..., - location: Optional[ContentLocation] = ..., - debug: bool = ... - ) -> None: ... - @staticmethod - def instantiate( - url: Union[str, Dict[str, NotifyBase]], - asset: Optional[AppriseAsset] = ..., - tag: Optional[_Tag] = ..., - suppress_exceptions: bool = ... - ) -> NotifyBase: ... - def add( - self, - servers: _Servers = ..., - asset: Optional[AppriseAsset] = ..., - tag: Optional[_Tag] = ... - ) -> bool: ... - def clear(self) -> None: ... - def find(self, tag: str = ...) -> Iterator[Apprise]: ... - def notify( - self, - body: str, - title: str = ..., - notify_type: NotifyType = ..., - body_format: NotifyFormat = ..., - tag: _Tag = ..., - attach: Optional[AppriseAttachment] = ..., - interpret_escapes: Optional[bool] = ... - ) -> bool: ... - async def async_notify( - self, - body: str, - title: str = ..., - notify_type: NotifyType = ..., - body_format: NotifyFormat = ..., - tag: _Tag = ..., - attach: Optional[AppriseAttachment] = ..., - interpret_escapes: Optional[bool] = ... - ) -> bool: ... - def details(self, lang: Optional[str] = ...) -> Dict[str, Any]: ... - def urls(self, privacy: bool = ...) -> Iterable[str]: ... - def pop(self, index: int) -> ConfigBase: ... - def __getitem__(self, index: int) -> ConfigBase: ... - def __bool__(self) -> bool: ... - def __iter__(self) -> Iterator[ConfigBase]: ... - def __len__(self) -> int: ...
\ No newline at end of file |