bugraoz93 commented on code in PR #46799:
URL: https://github.com/apache/airflow/pull/46799#discussion_r1957350821


##########
airflow/cli/commands/remote_commands/variable_command.py:
##########
@@ -86,6 +86,14 @@ def variables_import(args, session):
             var_json = json.load(varfile)
         except JSONDecodeError:
             raise SystemExit("Invalid variables file.")
+    var_descriptions = {}
+    if args.description_file and os.path.exists(args.description_file):

Review Comment:
   @valentinDruzhinin It shouldn't be a breaking change as long as it still 
accepts the old file structure. We can adopt the code for both cases if a 
description exists insert it else don't. After reading, it is up to us how to 
behave depending on the file structure (will be still JSON anyway). 



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

Reply via email to