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

4 statements  

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

1"""Package for handling v1 events. 

2 

3A version is used to handle changes of the event data. When a structure of an event 

4changes, a new version should be created when there are still old events to process. 

5""" 

6 

7from faststream.redis import RedisRouter 

8 

9from kwai.events.v1.identity import router as identity_router 

10 

11 

12router = RedisRouter(prefix="v1/") 

13router.include_router(identity_router)