mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-06 12:14:27 +08:00
[pysftp] Logging attribute can be bool or str (#13018)
This commit is contained in:
@@ -25,7 +25,7 @@ from pysftp.helpers import (
|
||||
)
|
||||
|
||||
class CnOpts:
|
||||
log: bool
|
||||
log: bool | str
|
||||
compression: bool
|
||||
ciphers: Sequence[str] | None
|
||||
hostkeys: paramiko.HostKeys | None
|
||||
@@ -45,7 +45,7 @@ class Connection:
|
||||
port: int = 22,
|
||||
private_key_pass: str | None = None,
|
||||
ciphers: Sequence[str] | None = None,
|
||||
log: bool = False,
|
||||
log: bool | str = False,
|
||||
cnopts: CnOpts | None = None,
|
||||
default_path: _Path | None = None,
|
||||
) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user