We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 585bf4a commit d8f6c77Copy full SHA for d8f6c77
src/databricks/sql/cloudfetch/downloader.py
@@ -51,8 +51,7 @@ def is_file_download_successful(self) -> bool:
51
52
This function will block until a file download finishes or until a timeout.
53
"""
54
- timeout = self.settings.download_timeout
55
- timeout = timeout if timeout and timeout > 0 else None
+ timeout = self.settings.download_timeout if self.settings.download_timeout > 0 else None
56
try:
57
if not self.is_download_finished.wait(timeout=timeout):
58
self.is_download_timedout = True
0 commit comments