Add more docstrings

This commit is contained in:
François Voron
2019-10-10 19:03:52 +02:00
parent ef6dd2c39c
commit 9e1fd76f30
4 changed files with 13 additions and 0 deletions

View File

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