valentinDruzhinin commented on code in PR #46799:
URL: https://github.com/apache/airflow/pull/46799#discussion_r1957356894
##########
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:
@bugraoz93 got it. So I'll check the type for value first. If it's dict ->
I'll look for value and description in it. If not, I assume it's value only.
Right?
Thank you
--
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]