Skip to content

Commit

Permalink
Reformatted
Browse files Browse the repository at this point in the history
  • Loading branch information
jprakash-db committed Nov 25, 2024
1 parent 69b32e9 commit 0511690
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/databricks/sql/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@
from databricks.sql.experimental.oauth_persistence import OAuthPersistence

from databricks.sql.thrift_api.TCLIService.ttypes import (
TSparkParameter, TOperationState,
TSparkParameter,
TOperationState,
)


Expand Down Expand Up @@ -888,7 +889,7 @@ def is_executing(operation_state) -> "bool":
ttypes.TOperationState.PENDING_STATE,
]

while(is_executing(self.get_query_state())):
while is_executing(self.get_query_state()):
# Poll after some default time
time.sleep(self.ASYNC_DEFAULT_POLLING_INTERVAL)

Expand Down

0 comments on commit 0511690

Please sign in to comment.