mik-laj commented on a change in pull request #15425:
URL: https://github.com/apache/airflow/pull/15425#discussion_r615929569
##########
File path: airflow/cli/commands/connection_command.py
##########
@@ -29,7 +29,7 @@
from airflow.exceptions import AirflowNotFoundException
from airflow.hooks.base import BaseHook
from airflow.models import Connection
-from airflow.secrets.local_filesystem import _create_connection,
load_connections_dict
+from airflow.secrets.local_filesystem import load_connections_dict
Review comment:
What do you think to add this method as a static method to the
Connection class - `Connection.from_dict`?
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]