Skip to content

Removes AIP-44 from dag processing manager and internal_api_call - #44549

Merged
potiuk merged 1 commit into
apache:mainfrom
potiuk:remove-internal-api-call-completely
Dec 1, 2024
Merged

potiuk merged 1 commit into
apache:mainfrom
potiuk:remove-internal-api-call-completely

Conversation

@potiuk

@potiuk potiuk commented Dec 1, 2024

Copy link
Copy Markdown
Member

This is the last "internal_api_call" change from AIP-44 removal and it not only removes the dag_processsing/manager calls but also the internal_api_call itself.

Part of #44436


^ 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.

This is the last "internal_api_call" change from AIP-44 removal
and it not only removes the dag_processsing/manager calls but also
the internal_api_call itself.

Part of apache#44436
@potiuk

potiuk commented Dec 1, 2024

Copy link
Copy Markdown
Member Author

cc: @jason810496

@jscheffl jscheffl left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Wohoo, house is clean!

@jscheffl

jscheffl commented Dec 1, 2024

Copy link
Copy Markdown
Contributor

...ah wheres still some cleaning and removal in airflow/serialization/pydantic/** is needed as well?
Will airflow/serialization/** actually also be removed or will this stay? (I assume we don't need this with the old API, correct?)

@potiuk

potiuk commented Dec 1, 2024 •

Copy link
Copy Markdown
Member Author

...ah wheres still some cleaning and removal in airflow/serialization/pydantic/** is needed as well?
Will airflow/serialization/** actually also be removed or will this stay? (I assume we don't need this with the old API, correct?)

Yep. there is one more step in #44436 - remove all *Pydantic classes aand that's part of it. One problem there is that Pydantic classes are currently used as a way to serialize Context for PythonVirtualenvOperator and ExternalPythonOperator - so we cannot remove them "as-is" - we have to provide a replacement - which is likely tied to the Task SDK API changes - cc: @ashb @kaxil

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AIP-44 Migrate DagModel.deactivate_deleted_dags to Internal API Create pre-commit check for all @internal_api methods to be present in METHODS_MAP

3 participants