refine type checking
All checks were successful
Backend CI / unit-test (push) Successful in 35s

This commit is contained in:
2025-09-23 17:37:14 +02:00
parent b68249f9f1
commit 92c4e0d4fc
8 changed files with 132 additions and 103 deletions

View File

@@ -23,11 +23,11 @@ def _mig_0_1(engine: Engine) -> None:
SQLModel.metadata.create_all(
bind=engine,
tables=[
models_v1.Trades.__table__,
models_v1.Cycles.__table__,
models_v1.Users.__table__,
models_v1.Sessions.__table__,
models_v1.Exchanges.__table__,
models_v1.Trades.__table__, # type: ignore[attr-defined]
models_v1.Cycles.__table__, # type: ignore[attr-defined]
models_v1.Users.__table__, # type: ignore[attr-defined]
models_v1.Sessions.__table__, # type: ignore[attr-defined]
models_v1.Exchanges.__table__, # type: ignore[attr-defined]
],
)