eladkal commented on a change in pull request #21456:
URL: https://github.com/apache/airflow/pull/21456#discussion_r802544585



##########
File path: airflow/providers/databricks/hooks/databricks.py
##########
@@ -112,6 +115,36 @@ def __repr__(self) -> str:
         return str(self.__dict__)
 
 
+class WeekDay(Enum):
+    """Utility class to specify the weekday for maintenance."""
+    Mon = 0
+    Tue = 1
+    Wed = 2
+    Thu = 3
+    Fri = 4
+    Say = 5
+    Sun = 6

Review comment:
       We already have enum for that
   https://github.com/apache/airflow/blob/main/airflow/utils/weekday.py#L23-L32




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