mirror of
https://github.com/hexedtech/codemp.git
synced 2024-12-23 05:14:54 +01:00
chore(python): forgot type hints
This commit is contained in:
parent
d60ac63b49
commit
17c7f0588c
1 changed files with 2 additions and 1 deletions
3
dist/py/src/codemp/codemp.pyi
vendored
3
dist/py/src/codemp/codemp.pyi
vendored
|
@ -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]: ...
|
||||
|
|
Loading…
Reference in a new issue