mirror of
https://github.com/onyx-and-iris/streamlabs-socketio-py
synced 2025-01-30 14:50:48 +00:00
fix event_handler annotation
This commit is contained in:
parent
306df31390
commit
eaa7355a13
@ -1,6 +1,6 @@
|
|||||||
import logging
|
import logging
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from typing import Any, Union
|
from typing import Union
|
||||||
|
|
||||||
import socketio
|
import socketio
|
||||||
from observable import Observable
|
from observable import Observable
|
||||||
@ -113,7 +113,7 @@ class Client:
|
|||||||
def connect_handler(self) -> None:
|
def connect_handler(self) -> None:
|
||||||
self.logger.info('Connected to Streamlabs Socket API')
|
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.
|
Handles incoming events and triggers corresponding OBS actions.
|
||||||
Args:
|
Args:
|
||||||
|
Loading…
Reference in New Issue
Block a user