mirror of
https://github.com/onyx-and-iris/streamlabs-socketio-py
synced 2026-03-24 15:59:10 +00:00
enforce keyword arg to match {Client}.__init__()
This commit is contained in:
parent
4b383df9a4
commit
ba35960790
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user