Fix/deploy fix (#103)

* deploy fix
---------

Co-authored-by: Igor Lobanov <igor.lobanov@onetwotrip.com>
This commit is contained in:
Ilya Y
2023-10-31 18:48:00 +03:00
committed by GitHub
parent 7f22966b41
commit 21316187e0
3 changed files with 2 additions and 1159 deletions

View File

@@ -30,7 +30,7 @@ class Base(DeclarativeBase):
__abstract__ = True
__table_args__ = {"extend_existing": True}
id: Column | None = Column(Integer, primary_key=True)
id = Column(Integer, primary_key=True)
def __init_subclass__(cls, **kwargs):
REGISTRY[cls.__name__] = cls