fastapi/docs_src/sql_databases/sql_app
mxp a346cd8b70 update other python file as well to get the right import for
declarative_base

The declarative_base() function is now available as sqlalchemy.orm.declarative_base(). (deprecated since: 2.0) (Background on SQLAlchemy 2.0 at: https://sqlalche.me/e/b8d9)
Base = declarative_base()
2023-08-16 23:49:31 +02:00
..
tests 📝 Use in memory database for testing SQL in docs (#1223) 2023-06-22 11:20:12 +00:00
__init__.py Add support for docs translations (#1168) 2020-03-26 20:09:53 +01:00
alt_main.py Add support for docs translations (#1168) 2020-03-26 20:09:53 +01:00
crud.py Add support for docs translations (#1168) 2020-03-26 20:09:53 +01:00
database.py update other python file as well to get the right import for 2023-08-16 23:49:31 +02:00
main.py 📝 Update location of get_db in SQL docs (#1293) 2020-05-17 12:14:14 +02:00
models.py Add support for docs translations (#1168) 2020-03-26 20:09:53 +01:00
schemas.py 📝 Add docs recommending `Union` over `Optional` and migrate source examples (#4908) 2022-05-14 06:59:59 -05:00