fix event_handler annotation

This commit is contained in:
Onyx and Iris 2025-01-20 13:36:54 +00:00
parent 306df31390
commit eaa7355a13

View File

@ -1,6 +1,6 @@
import logging
from pathlib import Path
from typing import Any, Union
from typing import Union
import socketio
from observable import Observable
@ -113,7 +113,7 @@ class Client:
def connect_handler(self) -> None:
self.logger.info('Connected to Streamlabs Socket API')
def event_handler(self, data: Any) -> None:
def event_handler(self, data: dict) -> None:
"""
Handles incoming events and triggers corresponding OBS actions.
Args: