Vamsi-klu commented on code in PR #71752:
URL: https://github.com/apache/airflow/pull/71752#discussion_r3813935655


##########
providers/databricks/src/airflow/providers/databricks/hooks/databricks.py:
##########
@@ -799,6 +806,15 @@ def get_warehouse_state(self, warehouse_id: str) -> 
WarehouseState:
         """
         return WarehouseState(self.get_warehouse(warehouse_id)["state"])
 
+    async def a_get_warehouse_state(self, warehouse_id: str) -> WarehouseState:

Review Comment:
   Added a_get_warehouse as the async mirror of get_warehouse. 
a_get_warehouse_state now goes through that method so the GET path stays in one 
place.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to