Lee-W commented on code in PR #39771:
URL: https://github.com/apache/airflow/pull/39771#discussion_r1620091891


##########
airflow/providers/databricks/hooks/databricks.py:
##########
@@ -63,6 +64,23 @@
 SPARK_VERSIONS_ENDPOINT = ("GET", "api/2.0/clusters/spark-versions")
 
 
+class RunLifeCycleState(Enum):

Review Comment:
   This seems to be a duplication of 
https://github.com/apache/airflow/blob/4e0f9ddd710c47e8ef93b523c5b8df957d14a315/airflow/providers/databricks/hooks/databricks.py#L87-L95.
 Should we remove `RUN_LIFE_CYCLE_STATES`? or point it to `RunLifeCycleState`



##########
airflow/providers/databricks/hooks/databricks.py:
##########
@@ -63,6 +64,23 @@
 SPARK_VERSIONS_ENDPOINT = ("GET", "api/2.0/clusters/spark-versions")
 
 
+class RunLifeCycleState(Enum):

Review Comment:
   or maybe this is a refactor we can have in the next PR



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