Skip to content

AIP-84 Migrate test a connection to FastAPI API - #43766

Merged
pierrejeambrun merged 5 commits into
apache:mainfrom
bugraoz93:feat/42594/test-connection-to-fastapi
Nov 12, 2024
Merged

AIP-84 Migrate test a connection to FastAPI API#43766
pierrejeambrun merged 5 commits into
apache:mainfrom
bugraoz93:feat/42594/test-connection-to-fastapi

Conversation

@bugraoz93

@bugraoz93bugraoz93 commented Nov 6, 2024

Copy link
Copy Markdown
Contributor

closes: #42594
It includes unifying parameter naming conventions for test_connections.py


^ 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.

@boring-cyborgboring-cyborgBot added area:API Airflow's REST/HTTP API area:UI Related to UI/UX. For Frontend Developers. labels Nov 6, 2024
@bugraoz93bugraoz93 added the legacy api Whether legacy API changes should be allowed in PR label Nov 6, 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.

Nice.

One small change before we merge but looking good overall, thanks.

Comment threadairflow/api_fastapi/core_api/routes/public/connections.py Outdated
@bugraoz93
bugraoz93force-pushed the feat/42594/test-connection-to-fastapi branch from 297740a to 0d4abeeCompareNovember 7, 2024 22:33
pierrejeambrun
pierrejeambrun previously approved these changes Nov 8, 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.

Small change

Comment threadairflow/api_fastapi/core_api/routes/public/connections.py Outdated
@pierrejeambrun
pierrejeambrun dismissed their stale reviewNovember 8, 2024 14:24

Need final change

@bugraoz93
bugraoz93force-pushed the feat/42594/test-connection-to-fastapi branch from 0d4abee to 5391f70CompareNovember 8, 2024 18:43

@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.

Good to merge, need rebasing to solve conflicts.

@bugraoz93
bugraoz93force-pushed the feat/42594/test-connection-to-fastapi branch from 5391f70 to 04dbfbfCompareNovember 12, 2024 16:04
@bugraoz93
bugraoz93force-pushed the feat/42594/test-connection-to-fastapi branch from 04dbfbf to f275fd7CompareNovember 12, 2024 16:06
@bugraoz93

Copy link
Copy Markdown
ContributorAuthor

Rebased and solved the conflicts.

@pierrejeambrun
pierrejeambrun merged commit f924ecb into apache:mainNov 12, 2024
ellisms pushed a commit to ellisms/airflow that referenced this pull request Nov 13, 2024
* Migrate test a connection to fastapi
* Remove NotFound error from docs
* Remove Validation error which is handled by fastapi
* Remove async for complying convention for methods
* Fix pre-commit ruff
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.

AIP-84 Migrate the public endpoint Test Connection to FastAPI

3 participants

@bugraoz93@pierrejeambrun@amoghrajesh