mirror of
https://github.com/hexedtech/codemp.git
synced 2024-11-22 15:24:48 +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 stop(self) -> None: ...
|
||||||
|
|
||||||
def get_default_config() -> Config: ...
|
|
||||||
class Config:
|
class Config:
|
||||||
"""
|
"""
|
||||||
Configuration data structure for codemp clients
|
Configuration data structure for codemp clients
|
||||||
|
@ -18,6 +17,8 @@ class Config:
|
||||||
port: Optional[int]
|
port: Optional[int]
|
||||||
tls: Optional[bool]
|
tls: Optional[bool]
|
||||||
|
|
||||||
|
def __new__(cls, *, username: str, password: str, **kwargs) -> Config: ...
|
||||||
|
|
||||||
def init() -> Driver: ...
|
def init() -> Driver: ...
|
||||||
def set_logger(logger_cb: Callable[[str], None], debug: bool) -> bool: ...
|
def set_logger(logger_cb: Callable[[str], None], debug: bool) -> bool: ...
|
||||||
def connect(config: Config) -> Promise[Client]: ...
|
def connect(config: Config) -> Promise[Client]: ...
|
||||||
|
|
Loading…
Reference in a new issue