Coverage for src/kwai/events/v1/identity/__init__.py: 0%

6 statements  

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

1"""Module for defining the event router for the identity module.""" 

2 

3from faststream.redis import RedisRouter 

4 

5from kwai.events.v1.identity.user_invitation_tasks import ( 

6 router as user_invitation_router, 

7) 

8from kwai.events.v1.identity.user_recovery_tasks import router as user_recovery_router 

9 

10 

11router = RedisRouter(prefix="identity/") 

12router.include_router(user_invitation_router) 

13router.include_router(user_recovery_router)