frankcash commented on code in PR #34643:
URL: https://github.com/apache/airflow/pull/34643#discussion_r1338462019
##########
tests/providers/databricks/hooks/test_databricks.py:
##########
@@ -158,6 +162,11 @@ def repair_run_endpoint(host):
"""
return f"https://{host}/api/2.1/jobs/runs/repair"
+def get_cluster_endpoint(host):
+ """
+ Utility function to generate the get run endpoint given the host.
+ """
+ return f"https://{host}/api/2.0/clusters/get"
Review Comment:
why not utilize the endpoint you defined in the hook?
--
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]