chore(python): forgot type hints

This commit is contained in:
cschen 2024-09-20 17:17:58 +02:00
parent d60ac63b49
commit 17c7f0588c

View file

@ -7,7 +7,6 @@ class Driver:
"""
def stop(self) -> None: ...
def get_default_config() -> Config: ...
class Config:
"""
Configuration data structure for codemp clients
@ -18,6 +17,8 @@ class Config:
port: Optional[int]
tls: Optional[bool]
def __new__(cls, *, username: str, password: str, **kwargs) -> Config: ...
def init() -> Driver: ...
def set_logger(logger_cb: Callable[[str], None], debug: bool) -> bool: ...
def connect(config: Config) -> Promise[Client]: ...