Skip to content

Comments

AIP-72: Scaffold task instance RTIF API calls during task startup#44725

Merged
amoghrajesh merged 10 commits intoapache:mainfrom
astronomer:AIP72-tasksdk-rtif-when-startup
Dec 10, 2024
Merged

AIP-72: Scaffold task instance RTIF API calls during task startup#44725
amoghrajesh merged 10 commits intoapache:mainfrom
astronomer:AIP72-tasksdk-rtif-when-startup

Conversation

@amoghrajesh
Copy link
Contributor

Dependent on #44692 and only commit: 91ec038 onwards is relevant.

This PR adds an example of how we should be calling the set_rtif endpoint as introduced in #44692 from the task runner.

The idea is to implement a portion where we call this API using maybe dummy values from task sdk - startup(). Later when we have mechanism for "rendering", we can replace the params


^ 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.rst or {issue_number}.significant.rst, in newsfragments.

@amoghrajesh amoghrajesh changed the title AIP-72: Adding Endpoint to set rendered task instance fields AIP-72: Scaffold task instance RTIF API calls during task startup Dec 6, 2024
Copy link
Member

@ashb ashb left a comment

Choose a reason for hiding this comment

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

Nice, good start.

@amoghrajesh amoghrajesh self-assigned this Dec 9, 2024
@amoghrajesh amoghrajesh requested a review from ashb December 9, 2024 08:10
Copy link
Member

@ashb ashb left a comment

Choose a reason for hiding this comment

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

One minor point about the name, otherwise LGTM!

@amoghrajesh
Copy link
Contributor Author

Thanks for the review, merging this one.

@amoghrajesh amoghrajesh merged commit 6c82431 into apache:main Dec 10, 2024
@amoghrajesh amoghrajesh deleted the AIP72-tasksdk-rtif-when-startup branch December 10, 2024 12:58
got686-yandex pushed a commit to got686-yandex/airflow that referenced this pull request Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants