mirror of
https://github.com/onyx-and-iris/streamlabs-socketio-py
synced 2026-04-07 13:43:30 +00:00
enforce keyword arg to match {Client}.__init__()
This commit is contained in:
@@ -76,5 +76,5 @@ class Client:
|
||||
self._logger.info('Disconnected from Streamlabs Socket API')
|
||||
|
||||
|
||||
def request_client_object(token: str, raw: bool = False) -> Client:
|
||||
def request_client_object(*, token: str, raw: bool = False) -> Client:
|
||||
return Client(token=token, raw=raw)
|
||||
|
||||
Reference in New Issue
Block a user