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

5 statements  

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

1"""Module that defines the portal api.""" 

2from fastapi import APIRouter 

3 

4from kwai.api.v1.portal.endpoints import applications, news 

5 

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

7api_router.include_router(applications.router, tags=["portal/applications"]) 

8api_router.include_router(news.router, tags=["portal/news"])