We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69b32e9 commit 0511690Copy full SHA for 0511690
src/databricks/sql/client.py
@@ -47,7 +47,8 @@
47
from databricks.sql.experimental.oauth_persistence import OAuthPersistence
48
49
from databricks.sql.thrift_api.TCLIService.ttypes import (
50
- TSparkParameter, TOperationState,
+ TSparkParameter,
51
+ TOperationState,
52
)
53
54
@@ -888,7 +889,7 @@ def is_executing(operation_state) -> "bool":
888
889
ttypes.TOperationState.PENDING_STATE,
890
]
891
- while(is_executing(self.get_query_state())):
892
+ while is_executing(self.get_query_state()):
893
# Poll after some default time
894
time.sleep(self.ASYNC_DEFAULT_POLLING_INTERVAL)
895
0 commit comments