Browse Source

✏ Fix typo in `docs/en/docs/tutorial/sql-databases.md` (#4875)

pull/4884/head
William Poetra Yoga 3 years ago
committed by GitHub
parent
commit
b017a33ebd
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      docs/en/docs/tutorial/sql-databases.md

2
docs/en/docs/tutorial/sql-databases.md

@ -491,7 +491,7 @@ You can find an example of Alembic in a FastAPI project in the templates from [P
### Create a dependency
Now use the `SessionLocal` class we created in the `sql_app/databases.py` file to create a dependency.
Now use the `SessionLocal` class we created in the `sql_app/database.py` file to create a dependency.
We need to have an independent database session/connection (`SessionLocal`) per request, use the same session through all the request and then close it after the request is finished.

Loading…
Cancel
Save