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

treeview - deterministic and new getter #37162

Merged
merged 2 commits into from Feb 11, 2024

Conversation

raphaelauv
Copy link
Contributor

current treeview() only print a non deterministic ASCII representation of the dag

this new implementation is deterministic ( thanks to sort on task_id ) and add a getter to get the string representation

Copy link
Collaborator

@dirrao dirrao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be good to add the the test case where it is failing with current code.

@enchant3dmango
Copy link
Contributor

Could you provide the example result in the description? Thanks!

@raphaelauv
Copy link
Contributor Author

There is an example in the unit test

@eladkal eladkal added this to the Airflow 2.8.2 milestone Feb 9, 2024
@potiuk potiuk merged commit 0c02ead into apache:main Feb 11, 2024
57 checks passed
@raphaelauv raphaelauv deleted the test/dag_tree_view branch February 11, 2024 15:40
@ephraimbuddy ephraimbuddy added the type:bug-fix Changelog: Bug Fixes label Feb 19, 2024
ephraimbuddy pushed a commit that referenced this pull request Feb 20, 2024
* treeview - determinist and new getter

* review 1

---------

Co-authored-by: raphaelauv <raphaelauv@users.noreply.github.com>
(cherry picked from commit 0c02ead)
ephraimbuddy pushed a commit that referenced this pull request Feb 20, 2024
* treeview - determinist and new getter

* review 1

---------

Co-authored-by: raphaelauv <raphaelauv@users.noreply.github.com>
(cherry picked from commit 0c02ead)
sunank200 pushed a commit to astronomer/airflow that referenced this pull request Feb 21, 2024
* treeview - determinist and new getter

* review 1

---------

Co-authored-by: raphaelauv <raphaelauv@users.noreply.github.com>
ephraimbuddy pushed a commit that referenced this pull request Feb 22, 2024
* treeview - determinist and new getter

* review 1

---------

Co-authored-by: raphaelauv <raphaelauv@users.noreply.github.com>
(cherry picked from commit 0c02ead)
abhishekbhakat pushed a commit to abhishekbhakat/my_airflow that referenced this pull request Mar 5, 2024
* treeview - determinist and new getter

* review 1

---------

Co-authored-by: raphaelauv <raphaelauv@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug-fix Changelog: Bug Fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants