natanweinberger opened a new pull request, #28738:
URL: https://github.com/apache/airflow/pull/28738

   <!--
   Thank you for contributing! Please make sure that your code changes
   are covered with tests. And in case of new features or big changes
   remember to adjust the documentation.
   
   Feel free to ping committers for the review!
   
   In case of an existing issue, reference it using one of the following:
   
   closes: #ISSUE
   related: #ISSUE
   
   How to write a good git commit message:
   http://chris.beams.io/posts/git-commit/
   -->
   The CLI command `airflow connections import <filepath>` cannot overwrite 
existing connections. Conflicts are skipped with the message `Could not import 
connection <connection_id>: connection already exists.`
   
   **This PR adds functionality to set `--overwrite=true` to overwrite existing 
connections when there is a conflict.**
   
   The existing behavior (no overwrites) is still the default behavior, the 
user must set `--overwrite=true` to enable overwrites.
   
   Original idea for this: 
https://github.com/apache/airflow/pull/15177#issuecomment-1286555955


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to