mirror of
https://github.com/fastapi-users/fastapi-users.git
synced 2025-08-17 13:54:20 +08:00
Automated deployment: Tue Nov 23 07:14:13 UTC 2021 48d1be87a4138da88e95324761febc45d172394d
This commit is contained in:
@ -1,10 +1,9 @@
|
||||
import contextlib
|
||||
|
||||
from fastapi_users.manager import UserAlreadyExists
|
||||
|
||||
from app.db import get_user_db
|
||||
from app.models import UserCreate
|
||||
from app.users import get_user_manager
|
||||
from fastapi_users.manager import UserAlreadyExists
|
||||
|
||||
get_user_db_context = contextlib.asynccontextmanager(get_user_db)
|
||||
get_user_manager_context = contextlib.asynccontextmanager(get_user_manager)
|
||||
|
Reference in New Issue
Block a user