richa-sawant commented on code in PR #36705:
URL: https://github.com/apache/airflow/pull/36705#discussion_r1447199915


##########
airflow/cli/commands/variable_command.py:
##########
@@ -61,8 +61,25 @@ def variables_get(args):
 @providers_configuration_loaded
 def variables_set(args):
     """Create new variable with a given name, value and description."""
-    Variable.set(args.key, args.value, args.description, 
serialize_json=args.json)
-    print(f"Variable {args.key} created")
+    if args.json_file:

Review Comment:
   Hey ...thank you for the feedback! Have made the changes . Kindly review



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