mirror of
https://github.com/fastapi-users/fastapi-users.git
synced 2025-08-26 04:25:46 +08:00
Fix Deepsource issues (#22)
* Fix Deepsource issues * Add docs/ to Deepsource exclusion list * Fix black formatting
This commit is contained in:
@ -46,7 +46,7 @@ We'll now create an SQLAlchemy enigne and ask it to create all the defined table
|
||||
The database adapter of **FastAPI Users** makes the link between your database configuration and the users logic. Create it like this.
|
||||
|
||||
```py hl_lines="24 25"
|
||||
{!./src/sqlalchemy.py!}
|
||||
{!./src/db_sqlalchemy.py!}
|
||||
```
|
||||
|
||||
Notice that we declare the `users` variable, which is the actual SQLAlchemy table behind the table class. We also use our `database` instance, which allows us to do asynchronous request to the database.
|
||||
|
Reference in New Issue
Block a user