mirror of
https://github.com/ijaric/voice_assistant.git
synced 2025-05-24 14:33:26 +00:00
fix: lint-fix
This commit is contained in:
parent
a177930656
commit
e12bd403dd
|
@ -11,6 +11,6 @@ __all__ = [
|
||||||
"LoggingSettings",
|
"LoggingSettings",
|
||||||
"PostgresSettings",
|
"PostgresSettings",
|
||||||
"ProjectSettings",
|
"ProjectSettings",
|
||||||
"get_logging_config",
|
|
||||||
"RabbitMQSettings",
|
"RabbitMQSettings",
|
||||||
|
"get_logging_config",
|
||||||
]
|
]
|
||||||
|
|
|
@ -4,7 +4,7 @@ import lib.models.broker_message as lib_models_broker_message
|
||||||
|
|
||||||
|
|
||||||
class BrokerPublisher:
|
class BrokerPublisher:
|
||||||
def __init__(self, broker_class: typing.Type, settings: object):
|
def __init__(self, broker_class: type, settings: object):
|
||||||
self.broker = broker_class(settings)
|
self.broker = broker_class(settings)
|
||||||
|
|
||||||
async def connect(self):
|
async def connect(self):
|
||||||
|
|
|
@ -1,13 +1,14 @@
|
||||||
|
from .broker_message import *
|
||||||
from .joke import Joke
|
from .joke import Joke
|
||||||
from .orm import Base, IdCreatedUpdatedBaseMixin, JokeORM
|
from .orm import Base, IdCreatedUpdatedBaseMixin, JokeORM
|
||||||
from .broker_message import *
|
|
||||||
from .token import Token
|
from .token import Token
|
||||||
|
|
||||||
__all__ = [
|
__all__ = [
|
||||||
"Base",
|
"Base",
|
||||||
"BrokerMessagePayload",
|
|
||||||
"BrokerMessage",
|
"BrokerMessage",
|
||||||
|
"BrokerMessagePayload",
|
||||||
"IdCreatedUpdatedBaseMixin",
|
"IdCreatedUpdatedBaseMixin",
|
||||||
"Joke",
|
"Joke",
|
||||||
"JokeORM",
|
"JokeORM",
|
||||||
"Token",
|
"Token",
|
||||||
|
]
|
||||||
|
|
|
@ -20,6 +20,7 @@ readme = "README.md"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
|
|
||||||
[tool.poetry.dependencies]
|
[tool.poetry.dependencies]
|
||||||
|
aio-pika = "^9.3.0"
|
||||||
alembic = "^1.12.0"
|
alembic = "^1.12.0"
|
||||||
asyncpg = "^0.28.0"
|
asyncpg = "^0.28.0"
|
||||||
fastapi = "0.103.1"
|
fastapi = "0.103.1"
|
||||||
|
@ -33,7 +34,6 @@ python = "^3.11"
|
||||||
python-jose = "^3.3.0"
|
python-jose = "^3.3.0"
|
||||||
sqlalchemy = "^2.0.20"
|
sqlalchemy = "^2.0.20"
|
||||||
uvicorn = "^0.23.2"
|
uvicorn = "^0.23.2"
|
||||||
aio-pika = "^9.3.0"
|
|
||||||
|
|
||||||
[tool.poetry.dev-dependencies]
|
[tool.poetry.dev-dependencies]
|
||||||
black = "^23.7.0"
|
black = "^23.7.0"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user