1
0
mirror of https://github.com/ijaric/voice_assistant.git synced 2025-05-24 22:43:26 +00:00

add app settings

This commit is contained in:
ksieuk 2023-09-28 21:30:38 +03:00
parent 8f0365e8d2
commit b580ac9cd9
2 changed files with 8 additions and 0 deletions

View File

@ -14,6 +14,12 @@ import lib.app.split_settings as app_split_settings
logger = logging.getLogger(__name__)
@dataclasses.dataclass
class DisposableResource:
name: str
dispose_callback: typing.Awaitable[typing.Any]
class Application:
def __init__(
self,

View File

@ -1,10 +1,12 @@
from .api import *
from .app import *
from .logger import *
from .postgres import *
from .project import *
__all__ = [
"ApiSettings",
"AppSettings",
"LoggingSettings",
"PostgresSettings",
"ProjectSettings",