paramiko: get_banner in transport returns bytes (#4974)

This commit is contained in:
Iwan
2021-01-26 17:03:29 +01:00
committed by GitHub
parent 9d07d74a12
commit 869238e587

View File

@@ -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]: ...