Fix Deepsource issues (#22)

* Fix Deepsource issues

* Add docs/ to Deepsource exclusion list

* Fix black formatting
This commit is contained in:
François Voron
2019-10-20 16:16:52 +02:00
committed by GitHub
parent ed8145d676
commit 089d088268
6 changed files with 24 additions and 22 deletions

View File

@ -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.