Skip to content

Commit 145baf9

Browse files
committed
Code style
1 parent 431364c commit 145baf9

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/common/di_container.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
from dependency_injector.containers import DeclarativeContainer, WiringConfiguration
22
from dependency_injector.providers import Dependency, Factory, Singleton
3-
from sqlalchemy_bind_manager import SQLAlchemyBindManager
4-
from sqlalchemy_bind_manager.repository import SQLAlchemyAsyncRepository
5-
6-
from common.config import AppConfig
73
from domains.books._gateway_interfaces import (
84
BookEventGatewayInterface,
95
BookRepositoryInterface,
106
)
117
from domains.books._models import BookModel
128
from gateways.event import NullEventGateway
9+
from sqlalchemy_bind_manager import SQLAlchemyBindManager
10+
from sqlalchemy_bind_manager.repository import SQLAlchemyAsyncRepository
11+
12+
from common.config import AppConfig
1313

1414

1515
class Container(DeclarativeContainer):

src/common/dramatiq.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import logging
22

33
import orjson
4+
45
from dramatiq import set_broker, set_encoder
56
from dramatiq.broker import Broker
67
from dramatiq.brokers.redis import RedisBroker

src/common/storage/SQLAlchemy/default_bind_tables.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1+
from domains.books._models import BookModel
12
from sqlalchemy import Column, Integer, String, Table
23
from sqlalchemy.orm import registry
34

4-
from domains.books._models import BookModel
5-
65

76
def init_tables(registry_mapper: registry):
87
books = Table(

0 commit comments

Comments
 (0)