From 051169096ad2fed9d138b62113f79efc9621d5b7 Mon Sep 17 00:00:00 2001 From: Jothi Prakash Date: Tue, 26 Nov 2024 01:13:33 +0530 Subject: [PATCH] Reformatted --- src/databricks/sql/client.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/databricks/sql/client.py b/src/databricks/sql/client.py index 39fa67df..8ea81e12 100755 --- a/src/databricks/sql/client.py +++ b/src/databricks/sql/client.py @@ -47,7 +47,8 @@ from databricks.sql.experimental.oauth_persistence import OAuthPersistence from databricks.sql.thrift_api.TCLIService.ttypes import ( - TSparkParameter, TOperationState, + TSparkParameter, + TOperationState, ) @@ -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)