Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions netmiko/base_connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,16 +178,16 @@ def __init__(
# --> Auth response (auth_timeout)
# For telnet 'conn_timeout' is mapped to main telnet timeout (which is used for both the
# telnet connection and for other blocking operations).
conn_timeout: int = 10,
conn_timeout: float = 10,
# Timeout to wait for authentication response
auth_timeout: Optional[int] = None,
banner_timeout: int = 15, # Timeout to wait for the banner to be presented
auth_timeout: Optional[float] = None,
banner_timeout: float = 15, # Timeout to wait for the banner to be presented
# Other timeouts
blocking_timeout: int = 20, # Read blocking timeout
blocking_timeout: float = 20, # Read blocking timeout
timeout: int = 100, # TCP connect timeout | overloaded to read-loop timeout
session_timeout: int = 60, # Used for locking/sharing the connection
session_timeout: float = 60, # Used for locking/sharing the connection
read_timeout_override: Optional[float] = None,
keepalive: int = 0,
keepalive: float = 0,
default_enter: Optional[str] = None,
response_return: Optional[str] = None,
serial_settings: Optional[Dict[str, Any]] = None,
Expand Down
19 changes: 12 additions & 7 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ twine = "5.1.1"
docutils = "0.21.2"
pysnmp = "6.2.6"
pdoc3 = "0.11.1"
types-paramiko = "3.5.0.20240918"
types-paramiko = "4.0.0.20250821"
types-PyYAML = "6.0.12.20240917"
setuptools = ">=65.0.0"

Expand Down