Skip to content

Conversation

@ephraimbuddy
Copy link
Contributor

The query to get the dataset_triggered_dag_ids in the next_run_datasets_summary endpoint errors with str object has no attribute dag_id. This issue is from a recent refactor on sqlalchemy queries and the view has no unit test to detect it. I added a fix with a unit test

The query to get the dataset_triggered_dag_ids in the next_run_datasets_summary endpoint
errors with `str` object has no attribute dag_id. This issue is from a recent refactor on
sqlalchemy queries and the view has no unit test to detect it.
I added a fix with a unit test
@boring-cyborg boring-cyborg bot added the area:webserver Webserver related Issues label Sep 6, 2023
@hussein-awala hussein-awala merged commit 79abcfa into apache:main Sep 6, 2023
@ephraimbuddy ephraimbuddy deleted the fix-query-bug branch September 7, 2023 07:30
@ephraimbuddy ephraimbuddy added this to the Airflow 2.7.2 milestone Oct 3, 2023
@ephraimbuddy ephraimbuddy added the type:bug-fix Changelog: Bug Fixes label Oct 3, 2023
ephraimbuddy added a commit that referenced this pull request Oct 5, 2023
The query to get the dataset_triggered_dag_ids in the next_run_datasets_summary endpoint
errors with `str` object has no attribute dag_id. This issue is from a recent refactor on
sqlalchemy queries and the view has no unit test to detect it.
I added a fix with a unit test

(cherry picked from commit 79abcfa)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:webserver Webserver related Issues type:bug-fix Changelog: Bug Fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants