1
0
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:
Artem Litvinov 2023-10-03 15:49:13 +01:00
parent a177930656
commit e12bd403dd
4 changed files with 6 additions and 5 deletions

View File

@ -11,6 +11,6 @@ __all__ = [
"LoggingSettings",
"PostgresSettings",
"ProjectSettings",
"get_logging_config",
"RabbitMQSettings",
"get_logging_config",
]

View File

@ -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):

View File

@ -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",
]

View File

@ -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"