Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AIP-84 Migrate the public endpoint Get DAG to FastAPI #42848

Merged
merged 2 commits into from
Oct 10, 2024

Conversation

omkar-foss
Copy link
Collaborator

closes: #42652
related: #42370

This migrates the Get DAG API from api_connexion to api_fastapi, with a supporting test.

Additionally, this replaces AliasChoices with a single AliasGenerator. The lowest direct dependency resolution tests that were previously failing for AliasGenerator will now pass, thanks to the Pydantic min version update in #42694.

@boring-cyborg boring-cyborg bot added the area:UI Related to UI/UX. For Frontend Developers. label Oct 9, 2024
@pierrejeambrun
Copy link
Member

pierrejeambrun commented Oct 9, 2024

Also can you double check that aliases are correctly documented in the specification (generated yaml / swagger). Because I had an issue earlier when experimenting with them.

@omkar-foss
Copy link
Collaborator Author

Also can you double check that aliases are correctly documented in the specification (generated yaml / swagger). Because I had an issue earlier when experimenting with them.

Yes, all 3 aliases seem to be correctly documented in the generated yaml as well as swagger. Line numbers for your quick reference as follows:

@pierrejeambrun pierrejeambrun merged commit 937cc29 into apache:main Oct 10, 2024
52 checks passed
@omkar-foss omkar-foss deleted the aip-84/dags/get-dag branch October 10, 2024 12:01
kunaljubce pushed a commit to kunaljubce/airflow that referenced this pull request Oct 13, 2024
* Migrate the public endpoint Get DAG to FastAPI

* Use proper name for test function
pavansharma36 pushed a commit to pavansharma36/airflow that referenced this pull request Oct 14, 2024
* Migrate the public endpoint Get DAG to FastAPI

* Use proper name for test function
R7L208 pushed a commit to R7L208/airflow that referenced this pull request Oct 17, 2024
* Migrate the public endpoint Get DAG to FastAPI

* Use proper name for test function
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:UI Related to UI/UX. For Frontend Developers.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AIP-84 Migrate the public endpoint Get DAG to FastAPI
2 participants