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:
parent
8f0365e8d2
commit
b580ac9cd9
|
@ -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",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user