uranusjr commented on code in PR #36281:
URL: https://github.com/apache/airflow/pull/36281#discussion_r1430966672
##########
airflow/example_dags/plugins/workday.py:
##########
@@ -77,9 +77,10 @@ def next_dagrun_info(
tzinfo=UTC
)
else: # This is the first ever run on the regular schedule.
- next_start = restriction.earliest
- if next_start is None: # No start_date. Don't schedule.
+ if restriction.earliest is None: # No start_date. Don't schedule.
return None
+ next_start = restriction.earliest
+
Review Comment:
See #36296
--
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]