mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
paramiko: get_banner in transport returns bytes (#4974)
This commit is contained in:
2
third_party/2and3/paramiko/transport.pyi
vendored
2
third_party/2and3/paramiko/transport.pyi
vendored
@@ -143,7 +143,7 @@ class Transport(Thread, ClosingContextManager):
|
||||
def set_subsystem_handler(self, name: str, handler: Type[SubsystemHandler], *larg: Any, **kwarg: Any) -> None: ...
|
||||
def is_authenticated(self) -> bool: ...
|
||||
def get_username(self) -> Optional[str]: ...
|
||||
def get_banner(self) -> Optional[str]: ...
|
||||
def get_banner(self) -> Optional[bytes]: ...
|
||||
def auth_none(self, username: str) -> List[str]: ...
|
||||
def auth_password(self, username: str, password: str, event: Optional[Event] = ..., fallback: bool = ...) -> List[str]: ...
|
||||
def auth_publickey(self, username: str, key: PKey, event: Optional[Event] = ...) -> List[str]: ...
|
||||
|
||||
Reference in New Issue
Block a user