Skip to content

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
@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
harjeevanmaan pushed a commit to harjeevanmaan/airflow that referenced this pull request Oct 23, 2024
* Migrate the public endpoint Get DAG to FastAPI

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

* Use proper name for test function
ellisms pushed a commit to ellisms/airflow that referenced this pull request Nov 13, 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