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
« prev ^ index » next coverage.py v7.6.10, created at 2024-01-01 00:00 +0000
1"""Package for handling v1 events.
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"""
7from faststream.redis import RedisRouter
9from kwai.events.v1.identity import router as identity_router
12router = RedisRouter(prefix="v1/")
13router.include_router(identity_router)