diff --git a/stubs/pysftp/pysftp/__init__.pyi b/stubs/pysftp/pysftp/__init__.pyi index ec68da074..188e13aff 100644 --- a/stubs/pysftp/pysftp/__init__.pyi +++ b/stubs/pysftp/pysftp/__init__.pyi @@ -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: ...