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

5 statements  

« prev     ^ index     » next       coverage.py v7.6.10, created at 2024-01-01 00:00 +0000

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

2 

3from fastapi import APIRouter 

4 

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

6 

7 

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

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

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