mirror of
https://github.com/caronc/apprise.git
synced 2024-11-24 17:14:00 +01:00
manager classes accessible from apprise base
This commit is contained in:
parent
e98f65790c
commit
286a4374c0
@ -60,7 +60,9 @@ from .locale import AppriseLocale
|
||||
from .asset import AppriseAsset
|
||||
from .apprise_config import AppriseConfig
|
||||
from .apprise_attachment import AppriseAttachment
|
||||
|
||||
from .manager_attachment import AttachmentManager
|
||||
from .manager_config import ConfigurationManager
|
||||
from .manager_plugins import NotificationManager
|
||||
from . import decorators
|
||||
|
||||
# Inherit our logging with our additional entries added to it
|
||||
@ -84,6 +86,9 @@ __all__ = [
|
||||
'ContentLocation', 'CONTENT_LOCATIONS',
|
||||
'PrivacyMode',
|
||||
|
||||
# Managers
|
||||
'NotificationManager', 'ConfigurationManager', 'AttachmentManager',
|
||||
|
||||
# Decorator
|
||||
'decorators',
|
||||
|
||||
|
@ -31,9 +31,9 @@ import os
|
||||
|
||||
import pytest
|
||||
|
||||
from apprise.manager_plugins import NotificationManager
|
||||
from apprise.manager_config import ConfigurationManager
|
||||
from apprise.manager_attachment import AttachmentManager
|
||||
from apprise import NotificationManager
|
||||
from apprise import ConfigurationManager
|
||||
from apprise import AttachmentManager
|
||||
|
||||
sys.path.append(os.path.join(os.path.dirname(__file__), 'helpers'))
|
||||
|
||||
|
@ -28,8 +28,8 @@
|
||||
|
||||
from itertools import chain
|
||||
from importlib import import_module, reload
|
||||
from apprise.manager_plugins import NotificationManager
|
||||
from apprise.manager_attachment import AttachmentManager
|
||||
from apprise import NotificationManager
|
||||
from apprise import AttachmentManager
|
||||
import sys
|
||||
import re
|
||||
|
||||
|
@ -51,7 +51,7 @@ from apprise import PrivacyMode
|
||||
from apprise.locale import LazyTranslation
|
||||
from apprise.locale import gettext_lazy as _
|
||||
|
||||
from apprise.manager_plugins import NotificationManager
|
||||
from apprise import NotificationManager
|
||||
from apprise.utils import parse_list
|
||||
from helpers import OuterEventLoop
|
||||
import inspect
|
||||
|
@ -35,7 +35,7 @@ from os.path import join
|
||||
from os.path import dirname
|
||||
from inspect import cleandoc
|
||||
from apprise import Apprise, AppriseAsset
|
||||
from apprise.manager_attachment import AttachmentManager
|
||||
from apprise import AttachmentManager
|
||||
from apprise.apprise_attachment import AppriseAttachment
|
||||
from apprise.attachment import AttachBase
|
||||
from apprise.common import ContentLocation
|
||||
|
@ -36,7 +36,7 @@ from os.path import dirname
|
||||
from os.path import join
|
||||
from apprise import cli
|
||||
from apprise import NotifyBase
|
||||
from apprise.manager_plugins import NotificationManager
|
||||
from apprise import NotificationManager
|
||||
from click.testing import CliRunner
|
||||
from apprise.utils import environ
|
||||
from apprise.locale import gettext_lazy as _
|
||||
|
@ -37,8 +37,8 @@ from apprise import AppriseConfig
|
||||
from apprise import AppriseAsset
|
||||
from apprise.config import ConfigBase
|
||||
from apprise.plugins import NotifyBase
|
||||
from apprise.manager_plugins import NotificationManager
|
||||
from apprise.manager_config import ConfigurationManager
|
||||
from apprise import NotificationManager
|
||||
from apprise import ConfigurationManager
|
||||
|
||||
from apprise.config.file import ConfigFile
|
||||
|
||||
|
@ -33,7 +33,7 @@ from inspect import cleandoc
|
||||
from urllib.parse import unquote
|
||||
|
||||
from apprise import utils
|
||||
from apprise.manager_plugins import NotificationManager
|
||||
from apprise import NotificationManager
|
||||
|
||||
# Disable logging for a cleaner testing output
|
||||
import logging
|
||||
|
@ -31,7 +31,7 @@ import pytest
|
||||
from apprise import Apprise
|
||||
from apprise import NotifyBase
|
||||
from apprise import NotifyFormat
|
||||
from apprise.manager_plugins import NotificationManager
|
||||
from apprise import NotificationManager
|
||||
|
||||
# Disable logging for a cleaner testing output
|
||||
import logging
|
||||
|
@ -36,7 +36,7 @@ from os.path import dirname
|
||||
from os.path import getsize
|
||||
from apprise.attachment.http import AttachHTTP
|
||||
from apprise import Apprise, AppriseAttachment
|
||||
from apprise.manager_plugins import NotificationManager
|
||||
from apprise import NotificationManager
|
||||
from apprise.plugins import NotifyBase
|
||||
from apprise.common import ContentLocation
|
||||
|
||||
|
@ -34,7 +34,7 @@ import requests
|
||||
from apprise.common import ConfigFormat
|
||||
from apprise.config.http import ConfigHTTP
|
||||
from apprise.plugins import NotifyBase
|
||||
from apprise.manager_plugins import NotificationManager
|
||||
from apprise import NotificationManager
|
||||
|
||||
# Disable logging for a cleaner testing output
|
||||
import logging
|
||||
|
@ -35,7 +35,7 @@ from apprise import AppriseConfig
|
||||
from apprise import AppriseAsset
|
||||
from apprise import AppriseAttachment
|
||||
from apprise import common
|
||||
from apprise.manager_plugins import NotificationManager
|
||||
from apprise import NotificationManager
|
||||
|
||||
# Disable logging for a cleaner testing output
|
||||
import logging
|
||||
|
@ -33,7 +33,7 @@ import threading
|
||||
from inspect import cleandoc
|
||||
|
||||
from apprise import Apprise
|
||||
from apprise.manager_plugins import NotificationManager
|
||||
from apprise import NotificationManager
|
||||
from apprise.plugins import NotifyBase
|
||||
|
||||
# Disable logging for a cleaner testing output
|
||||
|
Loading…
Reference in New Issue
Block a user