Hi,
I'm trying to access to my datas stored in a RecordMap from SQLAlchemy, and I need to access to any tables already created before using SQLAlchemy.
Here is some part of my code :
TestBase:
classTestBase(DeclarativeBase):
CreatedAt: Mapped[int] = mapped_column(TIMESTAMP, default=func.now())
UpdatedAt: Mapped[int] = mapped_column(TIMESTAMP, default=func.now(), onupdate=func.current_timestamp())
Engine creation and entities binding :
bases = {
"TEST": TestBase.metadata.create_all,
}
defcreate_engine_and_session(namespace: str) -> Session:
engine: Engine = create_engine(f"