potiuk commented on code in PR #37214: URL: https://github.com/apache/airflow/pull/37214#discussion_r1482505496
########## airflow/providers/mongo/hooks/mongo.py: ########## @@ -75,6 +74,23 @@ def __init__(self, mongo_conn_id: str = default_conn_name, *args, **kwargs) -> N self.client: MongoClient | None = None self.uri = self._create_uri() + self.allow_insecure = self.extras.pop("allow_insecure", "false").lower() == "true" + self.ssl_enabled = self.extras.get("ssl", "false").lower() == "true" Review Comment: NIT: As @Taragolis suggested: ```suggestion self.ssl_enabled = self.extras.get("ssl", "false").lower() == "true" or self.extras.get("tls", "false").lower() == "true" ``` -- 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: commits-unsubscr...@airflow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org