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-81 Include Overwrite Functionality to Bulk Insert API Endpoints for Connection&Pool #45303

Open
1 of 2 tasks
bugraoz93 opened this issue Dec 30, 2024 · 2 comments · May be fixed by #45397
Open
1 of 2 tasks

AIP-81 Include Overwrite Functionality to Bulk Insert API Endpoints for Connection&Pool #45303

bugraoz93 opened this issue Dec 30, 2024 · 2 comments · May be fixed by #45397
Assignees
Labels
AIP-81 Enhanced Security in CLI via Integration of API area:API Airflow's REST/HTTP API kind:feature Feature Requests

Comments

@bugraoz93
Copy link
Collaborator

bugraoz93 commented Dec 30, 2024

Description

When inserting bulk objects in REST API (FastAPI), a flag should decide whether passed objects should be updated in case of existence (--overwrite).

  • /connections/bulk
  • /pools/bulk

Use case/motivation

To provide the same functionality for the CLI Connection command with API integration.
AIP-81

Related issues

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@jason810496
Copy link
Contributor

Hi @bugraoz93, I can work on this issue, could you assign to me ? Thanks !
I also have a small question: Should we replace the HTTP method from POST to PUT? For this use case, the endpoint is no longer solely for create operations.

@bugraoz93
Copy link
Collaborator Author

Hi @jason810496 , great point! I think we can. Indeed, it won't only accept inserts in this case and fits into PUT more as a context and definition.
Assigned, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AIP-81 Enhanced Security in CLI via Integration of API area:API Airflow's REST/HTTP API kind:feature Feature Requests
Projects
Development

Successfully merging a pull request may close this issue.

2 participants