philipgray commented on code in PR #34666:
URL: https://github.com/apache/airflow/pull/34666#discussion_r1347684288


##########
airflow/providers/databricks/hooks/databricks.py:
##########
@@ -69,6 +69,14 @@
 
 SPARK_VERSIONS_ENDPOINT = ("GET", "api/2.0/clusters/spark-versions")
 
+CREATE_REPO_ENDPOINT = ("POST", "api/2.0/repos")
+
+DELETE_REPO_METHOD = "DELETE"
+DELETE_REPO_ROUTE = "api/2.0/repos/{repo_id}"
+
+UPDATE_REPO_METHOD = "PATCH"
+UPDATE_REPO_ROUTE = "api/2.0/repos/{repo_id}"

Review Comment:
   I'm not familiar with a TPL postfix, but this is what I originally had! But 
then @hussein-awala said, 
   
   > Why do you need to define them as tuple then create a lambda to transform 
them? You can just create a method/some methods to return these values.
   
   which made me think that perhaps it would be easier separating them. 



-- 
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