Skip to content

Commit 0511690

Browse files
committed
Reformatted
1 parent 69b32e9 commit 0511690

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/databricks/sql/client.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@
4747
from databricks.sql.experimental.oauth_persistence import OAuthPersistence
4848

4949
from databricks.sql.thrift_api.TCLIService.ttypes import (
50-
TSparkParameter, TOperationState,
50+
TSparkParameter,
51+
TOperationState,
5152
)
5253

5354

@@ -888,7 +889,7 @@ def is_executing(operation_state) -> "bool":
888889
ttypes.TOperationState.PENDING_STATE,
889890
]
890891

891-
while(is_executing(self.get_query_state())):
892+
while is_executing(self.get_query_state()):
892893
# Poll after some default time
893894
time.sleep(self.ASYNC_DEFAULT_POLLING_INTERVAL)
894895

0 commit comments

Comments
 (0)