Lee-W commented on code in PR #34666:
URL: https://github.com/apache/airflow/pull/34666#discussion_r1345128017
##########
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:
If we're trying to maintain consistency, would something like the follow
make more sense?
```suggestion
# with a TPL postfix maybe?
DELETE_REPO_ENDPOINT = ("DELETE", "api/2.0/repos/{repo_id}")
UPDATE_REPO_ENDPOINT = ("PATCH", "api/2.0/repos/{repo_id}")
```
--
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]