shubhamraj-git commented on code in PR #45939:
URL: https://github.com/apache/airflow/pull/45939#discussion_r1927213788
##########
airflow/api_fastapi/core_api/datamodels/connections.py:
##########
@@ -97,20 +102,23 @@ class ConnectionBulkCreateAction(BulkBaseAction):
action: BulkAction = BulkAction.CREATE
connections: list[ConnectionBody] = Field(..., description="A list of
connections to be created.")
+ action_on_existence: BulkActionOnExistence = BulkActionOnExistence.FAIL
class ConnectionBulkUpdateAction(BulkBaseAction):
"""Bulk Update Connection serializer for request bodies."""
action: BulkAction = BulkAction.UPDATE
connections: list[ConnectionBody] = Field(..., description="A list of
connections to be updated.")
+ action_not_on_existence: BulkActionNotOnExistence =
BulkActionNotOnExistence.FAIL
Review Comment:
Sure, let's go with `action_on_non_existence`
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]