utkarsharma2 commented on a change in pull request #9907:
URL: https://github.com/apache/airflow/pull/9907#discussion_r466071926



##########
File path: airflow/cli/cli_parser.py
##########
@@ -626,6 +626,20 @@ def positive_int(value):
     ),
     action="store_true",
     default=False)
+ARG_CONN_IMPORT = Arg(
+    ('file',),
+    help='Import connections from a file. Acceptable file formats .json, 
.yaml, .env',
+    type=str)
+ARG_CONFLICT_DISPOSITION = Arg(
+    ('--conflict-disposition',),
+    help=("Specifies the action that occurs if the connection already exists. 
Default value : restrict\n"
+          "Values -\n"
+          "\toverwrite : Overwrites the connection\n"
+          "\tignore : Skip this connection\n"
+          "\trestrict : Raise an exception\n"),
+    type=str)

Review comment:
       Updated code.




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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to