Coverage for kwai/api/v1/auth/api.py: 100%

6 statements  

« prev     ^ index     » next       coverage.py v7.3.0, created at 2023-09-05 17:55 +0000

1"""Module that defines the auth apis.""" 

2from fastapi import APIRouter 

3 

4from kwai.api.v1.auth.endpoints import login, user, user_invitations 

5 

6api_router = APIRouter(prefix="/auth") 

7api_router.include_router(login.router, tags=["auth/login"]) 

8api_router.include_router(user.router, tags=["auth/user"]) 

9api_router.include_router( 

10 user_invitations.router, prefix="/users", tags=["auth/users/invitations"] 

11)