Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd8f6c77

Browse files
committed
Timeout is never None
Signed-off-by: Matthew Kim <11141331+mattdeekay@users.noreply.github.com>
1 parent585bf4a commitd8f6c77

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎src/databricks/sql/cloudfetch/downloader.py‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,7 @@ def is_file_download_successful(self) -> bool:
5151
5252
This function will block until a file download finishes or until a timeout.
5353
"""
54-
timeout=self.settings.download_timeout
55-
timeout=timeoutiftimeoutandtimeout>0elseNone
54+
timeout=self.settings.download_timeoutifself.settings.download_timeout>0elseNone
5655
try:
5756
ifnotself.is_download_finished.wait(timeout=timeout):
5857
self.is_download_timedout=True

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp