Fix surprise incompatibility with websockets 14 :/

This commit is contained in:
Danielle McLean 2025-01-23 18:56:43 +11:00
parent 41f5369b2f
commit b9039b2ad4
Signed by: 00dani
GPG key ID: 6854781A0488421C
2 changed files with 7 additions and 12 deletions

View file

@ -35,7 +35,7 @@ class WebsocketsReceiverConfig(BaseReceiverConfig):
#: The hostname you'd like your WebSockets server to listen on. In most
#: cases the default behaviour, which binds to all network interfaces, will
#: be fine.
host: Optional[Host | tuple[Host, ...]] = None
host: Optional[Host] = None
ReceiverConfig = Annotated[