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