potiuk commented on code in PR #64498: URL: https://github.com/apache/airflow/pull/64498#discussion_r3021705217
########## airflow-core/src/airflow/cli/commands/variable_command.py: ########## @@ -122,7 +122,7 @@ def variables_delete(args): @cli_utils.action_cli @providers_configuration_loaded @provide_session -def variables_import(args, session): +def variables_import(args, *, session=NEW_SESSION): Review Comment: There is no need to add NEW_SESSION here. session automatically gets NEW_SESSION via `@provide_session` -- 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]
