enforce keyword arg to match {Client}.__init__()

This commit is contained in:
onyx-and-iris 2026-03-23 12:00:32 +00:00
parent 4b383df9a4
commit ba35960790

View File

@ -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)