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 failure for None task summaries #23932

Closed

Conversation

potiuk
Copy link
Member

@potiuk potiuk commented May 26, 2022

Alternative fix to #23908 - with added typing.


^ Add meaningful description above

Read the Pull Request Guidelines for more information.
In case of fundamental code change, Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragement file, named {pr_number}.significant.rst, in newsfragments.

@boring-cyborg boring-cyborg bot added the area:webserver Webserver related Issues label May 26, 2022
@potiuk potiuk force-pushed the alternative-fix-to-grid-summary-error branch 2 times, most recently from eb97694 to 93eb937 Compare May 26, 2022 11:16
Alternative fix to apache#23908 - with added typing.
@potiuk potiuk force-pushed the alternative-fix-to-grid-summary-error branch from 93eb937 to 7428be0 Compare May 26, 2022 11:20
@potiuk potiuk requested review from kaxil and XD-DENG as code owners May 26, 2022 11:20
@@ -101,6 +101,7 @@ class AbstractOperator(LoggingMixin, DAGNode):

owner: str
task_id: str
is_mapped: ClassVar[bool]
Copy link
Member Author

@potiuk potiuk May 26, 2022

Choose a reason for hiding this comment

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

@uranusjr -> maybe there is another way, but I believe the lack of "is_mapped" in AbstractOperator was a bit wrong (and it would prevent adding the proper typing in task_group_to_grid ad AbstractOperator missed is_mapped field).

@potiuk
Copy link
Member Author

potiuk commented May 27, 2022

Better/faster fix in #23947 . Closing.

@potiuk potiuk closed this May 27, 2022
@potiuk potiuk deleted the alternative-fix-to-grid-summary-error branch July 29, 2022 20:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:webserver Webserver related Issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant