Skip to content

Commit

Permalink
✏ Fix typo in docs/en/docs/tutorial/sql-databases.md (#4875)
Browse files Browse the repository at this point in the history
  • Loading branch information
wpyoga committed May 9, 2022
1 parent 424674a commit b017a33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/en/docs/tutorial/sql-databases.md
Expand Up @@ -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.

Expand Down

0 comments on commit b017a33

Please sign in to comment.