Base class for all SQLAlchemy models. Uses SQLAlchemy 2.0 DeclarativeBase for proper type inference with Mapped types. This is backward compatible with existing Column() definitions while enabling gradual migration to mapped_column() with Mapped[T] type annotations.
| 8 | |
| 9 | |
| 10 | class Base(DeclarativeBase): |
| 11 | """ |
| 12 | Base class for all SQLAlchemy models. |
| 13 | |
| 14 | Uses SQLAlchemy 2.0 DeclarativeBase for proper type inference with Mapped types. |
| 15 | This is backward compatible with existing Column() definitions while enabling |
| 16 | gradual migration to mapped_column() with Mapped[T] type annotations. |
| 17 | """ |
| 18 | |
| 19 | pass |
| 20 | |
| 21 | |
| 22 | T = TypeVar('T', bound=Enum) |
nothing calls this directly
no outgoing calls
no test coverage detected