Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix tasks API endpoint when DAG doesn't have start_date #40878

Merged
merged 1 commit into from
Jul 19, 2024

Conversation

jedcunningham
Copy link
Member

start_date is now optional, if there is no schedule for the DAG (#35356). Tasks, however, inherit the start_date of their DAG by default. So it's now possible for tasks to have no start_date as well.

Closes: #40828

I chose not to add a test for this case, but if someone feels strongly that I should, I can.

`start_date` is now optional, if there is no schedule for the DAG (apache#35356). Tasks,
however, inherit the `start_date` of their DAG by default. So it's now
possible for tasks to have no `start_date` as well.

Closes: apache#40828
@boring-cyborg boring-cyborg bot added area:API Airflow's REST/HTTP API area:UI Related to UI/UX. For Frontend Developers. area:webserver Webserver related Issues labels Jul 19, 2024
@eladkal eladkal added this to the Airflow 2.10.0 milestone Jul 19, 2024
@eladkal eladkal added the type:bug-fix Changelog: Bug Fixes label Jul 19, 2024
@uranusjr uranusjr merged commit afde88a into apache:main Jul 19, 2024
52 checks passed
@uranusjr uranusjr deleted the fix_task_api branch July 19, 2024 04:39
romsharon98 pushed a commit to romsharon98/airflow that referenced this pull request Jul 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:API Airflow's REST/HTTP API area:UI Related to UI/UX. For Frontend Developers. area:webserver Webserver related Issues type:bug-fix Changelog: Bug Fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

List Tasks API Call Fails When Airflow DAG is Missing start_date param
3 participants