mirror of
https://github.com/ijaric/voice_assistant.git
synced 2025-12-16 00:26:16 +00:00
add app settings
This commit is contained in:
@@ -14,6 +14,12 @@ import lib.app.split_settings as app_split_settings
|
|||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|
||||||
|
@dataclasses.dataclass
|
||||||
|
class DisposableResource:
|
||||||
|
name: str
|
||||||
|
dispose_callback: typing.Awaitable[typing.Any]
|
||||||
|
|
||||||
|
|
||||||
class Application:
|
class Application:
|
||||||
def __init__(
|
def __init__(
|
||||||
self,
|
self,
|
||||||
|
|||||||
@@ -1,10 +1,12 @@
|
|||||||
from .api import *
|
from .api import *
|
||||||
|
from .app import *
|
||||||
from .logger import *
|
from .logger import *
|
||||||
from .postgres import *
|
from .postgres import *
|
||||||
from .project import *
|
from .project import *
|
||||||
|
|
||||||
__all__ = [
|
__all__ = [
|
||||||
"ApiSettings",
|
"ApiSettings",
|
||||||
|
"AppSettings",
|
||||||
"LoggingSettings",
|
"LoggingSettings",
|
||||||
"PostgresSettings",
|
"PostgresSettings",
|
||||||
"ProjectSettings",
|
"ProjectSettings",
|
||||||
|
|||||||
Reference in New Issue
Block a user