-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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
Conversation
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: |
* Migrate the public endpoint Get DAG to FastAPI * Use proper name for test function
* Migrate the public endpoint Get DAG to FastAPI * Use proper name for test function
* Migrate the public endpoint Get DAG to FastAPI * Use proper name for test function
* Migrate the public endpoint Get DAG to FastAPI * Use proper name for test function
* Migrate the public endpoint Get DAG to FastAPI * Use proper name for test function
* Migrate the public endpoint Get DAG to FastAPI * Use proper name for test function
closes: #42652
related: #42370
This migrates the Get DAG API from
api_connexion
toapi_fastapi
, with a supporting test.Additionally, this replaces
AliasChoices
with a singleAliasGenerator
. The lowest direct dependency resolution tests that were previously failing forAliasGenerator
will now pass, thanks to the Pydantic min version update in #42694.