Skip to content

Conversation

@vatsrahul1001
Copy link
Contributor

Migrating the connexion API for POST ASSETS EVENTS to fastAPI.

Depends on #43881
related: #43845

Swagger Specs
image
image


^ 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 and others added 30 commits November 6, 2024 15:22
Co-authored-by: Jed Cunningham <66968678+jedcunningham@users.noreply.github.com>
…rflow into AIP84-get-asset-events

taking latest
@vatsrahul1001 vatsrahul1001 added the legacy api Whether legacy API changes should be allowed in PR label Nov 14, 2024
@vatsrahul1001 vatsrahul1001 marked this pull request as ready for review November 14, 2024 09:49
Copy link
Member

@pierrejeambrun pierrejeambrun left a comment

Choose a reason for hiding this comment

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

Nice thanks for the PR.

A few suggestions looking good overall :)

@pierrejeambrun pierrejeambrun changed the title AIP 84: Migrate POST ASSET EVENTS legacy API to fast API. AIP 84: Migrate POST ASSET EVENT legacy API to fast API. Nov 15, 2024
Copy link
Member

@pierrejeambrun pierrejeambrun left a comment

Choose a reason for hiding this comment

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

One small nit to adjust and we can merge.

@pierrejeambrun pierrejeambrun merged commit fd0a0d2 into apache:main Nov 15, 2024
@pierrejeambrun pierrejeambrun deleted the AIP84-create-asset-events branch November 15, 2024 16:46
kandharvishnu pushed a commit to kandharvishnu/airflow that referenced this pull request Nov 19, 2024
* AIP-84: Migrating GET Assets to fastAPI

* matching response to legacy

* Adding unit tests - part 1

* Update airflow/api_fastapi/common/parameters.py

Co-authored-by: Jed Cunningham <66968678+jedcunningham@users.noreply.github.com>

* fixing the dag_ids filter

* fixing the dag_ids filter

* Adding unit tests - part 2

* fixing unit tests & updating parameter type

* review comments pierre

* fixing last commit

* fixing unit tests

* migrating get assets events endpoint to fastapi

* fixing test response

* Adding tests for filtering

* address review comments

* fixing test parametrize

* address review comments

* address review comments

* AIP84-create-asset-events migration implementation using fastapi

* removing typo print command

* remove typo print statement

* address review comments

* address review comments

* Update airflow/api_fastapi/core_api/datamodels/assets.py

Co-authored-by: Pierre Jeambrun <pierrejbrun@gmail.com>

* address review comments

---------

Co-authored-by: Amogh <amoghrajesh1999@gmail.com>
Co-authored-by: Jed Cunningham <66968678+jedcunningham@users.noreply.github.com>
Co-authored-by: Pierre Jeambrun <pierrejbrun@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:API Airflow's REST/HTTP API area:UI Related to UI/UX. For Frontend Developers. legacy api Whether legacy API changes should be allowed in PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants