RachitSharma2001 commented on code in PR #26974:
URL: https://github.com/apache/airflow/pull/26974#discussion_r993718498
##########
airflow/utils/db.py:
##########
@@ -308,6 +308,18 @@ def create_default_connections(session: Session =
NEW_SESSION):
),
session,
)
+ merge_conn(
+ Connection(
+ conn_id="ftp_default",
+ conn_type="ftp",
+ host="localhost",
Review Comment:
Even though the unit tests no longer use a local FTP Server, I still think
that having this FTP Default connection would be useful, as without this,
defining the following piece of code will throw an error indicating that the
"connection with id 'ftp_default' does not exist": `hook = FTPHook()`
--
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]