Change examples so every dependencies are async

This commit is contained in:
François Voron
2021-11-07 11:21:24 +01:00
parent c1a0dd5476
commit 6ed1a5ccdb
7 changed files with 7 additions and 7 deletions

View File

@ -31,5 +31,5 @@ users = UserTable.__table__
oauth_accounts = OAuthAccount.__table__
def get_user_db():
async def get_user_db():
yield SQLAlchemyUserDatabase(UserDB, database, users, oauth_accounts)