First Check
Commit to Help
Example Code
engine = create_engine(settings.DATABASE_URI, echo=True, connect_args=connect_args,future=False)
data_df = pd.read_sql(table_name, con=engine, parse_dates=['datetime'])
Description
I am using FASTAPI and SQLModel with Pandas.
I create dataframes and convert them to json before returning them.
I need to set the future = False otherwise pandas is unable to read sql.
Will this have any side effects on the framework?
Operating System
Linux
Operating System Details
No response
SQLModel Version
0.0.8
Python Version
3.8.10
Additional Context
No response
First Check
Commit to Help
Example Code
Description
I am using FASTAPI and SQLModel with Pandas.
I create dataframes and convert them to json before returning them.
I need to set the future = False otherwise pandas is unable to read sql.
Will this have any side effects on the framework?
Operating System
Linux
Operating System Details
No response
SQLModel Version
0.0.8
Python Version
3.8.10
Additional Context
No response