Fix rendering of dagRunTimeout#32565
Conversation
|
Congratulations on your first Pull Request and welcome to the Apache Airflow community! If you have any issues or are unsure about any anything please check our Contribution Guide (https://github.com/apache/airflow/blob/main/CONTRIBUTING.rst)
|
| <Text>null</Text> | ||
| ) : ( | ||
| // for TimeDelta and RelativeDelta | ||
| <ViewScheduleInterval |
There was a problem hiding this comment.
ViewScheduleInterval couples this component with dag's schedule interval. Maybe this could be refactored/renamed to ViewTimeDelta component to be used in schedule interval and dag run timeout to render timedelta values?
There was a problem hiding this comment.
Makes sense. Let me take a look and make the change. Cheers.
|
Awesome work, congrats on your first merged pull request! You are invited to check our Issue Tracker for additional contributions. |
This resolves the below issue:
closes: #32442
The dag details page originally rendered the timedelta value as string. Causing the value of dagRunTImeout to be rendered as [object Object]. This change will handle the rendering of dagRunTimeout separately like scheduleInterval
^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an 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 newsfragment file, named
{pr_number}.significant.rstor{issue_number}.significant.rst, in newsfragments.