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/09/01 22:55:41 UTC

[GitHub] [airflow] kaxil commented on a diff in pull request #26098: Add more weekday operator and sensor examples #26071

kaxil commented on code in PR #26098:
URL: https://github.com/apache/airflow/pull/26098#discussion_r961162571


##########
airflow/sensors/weekday.py:
##########
@@ -66,13 +67,23 @@ class DayOfWeekSensor(BaseSensorOperator):
             * ``{WeekDay.TUESDAY}``
             * ``{WeekDay.SATURDAY, WeekDay.SUNDAY}``
 
+        To use `WeekDay` enum, import it from `airflow.utils.weekday`

Review Comment:
   ```suggestion
           To use ``WeekDay`` enum, import it from ``airflow.utils.weekday``
   ```
   since it is rst



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