You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/02/09 11:19:57 UTC

[GitHub] [airflow] andreaslang commented on a change in pull request #21456: Databricks Submit/RunNow operator improved maintenance window handling

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



##########
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:
       Did not know about that one, will change the PR to use the existing enum.




-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org