uranusjr commented on code in PR #33279:
URL: https://github.com/apache/airflow/pull/33279#discussion_r1289889985
##########
airflow/cli/commands/variable_command.py:
##########
@@ -76,21 +77,7 @@ def variables_delete(args):
@providers_configuration_loaded
def variables_import(args):
"""Imports variables from a given file."""
- if os.path.exists(args.file):
Review Comment:
This check is now covered by argparse.FileType and no longer needed.
(`connection_command` does not have this either)
--
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]