diff --git a/src/alpine_bits_python/api.py b/src/alpine_bits_python/api.py index 1548358..4f84fce 100644 --- a/src/alpine_bits_python/api.py +++ b/src/alpine_bits_python/api.py @@ -1,3 +1,5 @@ +"""API endpoints for the form-data and the alpinebits server.""" + import asyncio import gzip import json @@ -81,6 +83,8 @@ class LanguageDetectionResponse(BaseModel): # --- Enhanced event dispatcher with hotel-specific routing --- class EventDispatcher: + """Simple event dispatcher for AlpineBits push requests.""" + def __init__(self): self.listeners = defaultdict(list) self.hotel_listeners = defaultdict(list) # hotel_code -> list of listeners