Skip to content

Commit bff44f1

Browse files
added getter and setter for new platform detection timeout field
1 parent bd7082a commit bff44f1

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/snowflake/connector/connection.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -685,6 +685,14 @@ def client_session_keep_alive_heartbeat_frequency(self, value) -> None:
685685
self._client_session_keep_alive_heartbeat_frequency = value
686686
self._validate_client_session_keep_alive_heartbeat_frequency()
687687

688+
@property
689+
def platform_detection_timeout(self) -> int | float | None:
690+
return self._platform_detection_timeout
691+
692+
@platform_detection_timeout.setter
693+
def platform_detection_timeout(self, value) -> None:
694+
self._platform_detection_timeout = value
695+
688696
@property
689697
def client_prefetch_threads(self) -> int:
690698
return (

0 commit comments

Comments
 (0)