mirror of
https://github.com/fastapi-users/fastapi-users.git
synced 2025-08-15 03:04:27 +08:00
Add more docstrings
This commit is contained in:
@ -14,6 +14,7 @@ from fastapi_users.password import get_password_hash
|
||||
def get_user_router(
|
||||
user_db: BaseUserDatabase, user_model: Type[BaseUser], auth: BaseAuthentication
|
||||
) -> APIRouter:
|
||||
"""Generate a router with the authentication routes."""
|
||||
router = APIRouter()
|
||||
models = Models(user_model)
|
||||
|
||||
|
Reference in New Issue
Block a user