Skip to content

AIP 84: Migrate POST ASSET EVENT legacy API to fast API. - #43984

Merged
pierrejeambrun merged 56 commits into
apache:mainfrom
astronomer:AIP84-create-asset-events
Nov 15, 2024
Merged

AIP 84: Migrate POST ASSET EVENT legacy API to fast API. #43984
pierrejeambrun merged 56 commits into
apache:mainfrom
astronomer:AIP84-create-asset-events

Conversation

@vatsrahul1001

Copy link
Copy Markdown
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.

amoghrajeshand 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
@vatsrahul1001vatsrahul1001 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

@pierrejeambrunpierrejeambrun left a comment

Copy link
Copy Markdown
Member

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 :)

Comment threadairflow/api_fastapi/core_api/routes/public/assets.py Outdated
Comment threadairflow/api_fastapi/core_api/routes/public/assets.py Outdated
Comment threadairflow/api_fastapi/core_api/routes/public/assets.py Outdated
Comment threadairflow/api_fastapi/core_api/routes/public/assets.py Outdated
Comment threadairflow/api_fastapi/core_api/datamodels/assets.py Outdated
Comment threadtests/api_fastapi/core_api/routes/public/test_assets.py Outdated
Comment threadtests/api_fastapi/core_api/routes/public/test_assets.py Outdated
Comment threadtests/api_fastapi/core_api/routes/public/test_assets.py
Comment threadtests/api_fastapi/core_api/routes/public/test_assets.py
Comment threadairflow/api_fastapi/core_api/datamodels/assets.py Outdated
Comment threadairflow/api_fastapi/core_api/routes/public/assets.py Outdated
Comment threadairflow/api_fastapi/core_api/routes/public/assets.py Outdated
Comment threadairflow/api_fastapi/core_api/routes/public/assets.py Outdated
Comment threadtests/api_fastapi/core_api/routes/public/test_assets.py
Comment threadtests/api_fastapi/core_api/routes/public/test_assets.py
@pierrejeambrunpierrejeambrun 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

@pierrejeambrunpierrejeambrun left a comment

Copy link
Copy Markdown
Member

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.

Comment threadairflow/api_fastapi/core_api/datamodels/assets.py Outdated
@pierrejeambrun
pierrejeambrun merged commit fd0a0d2 into apache:mainNov 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 freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:APIAirflow's REST/HTTP APIarea:UIRelated to UI/UX. For Frontend Developers.legacy apiWhether legacy API changes should be allowed in PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@vatsrahul1001@pierrejeambrun@amoghrajesh