gopidesupavan commented on code in PR #53773:
URL: https://github.com/apache/airflow/pull/53773#discussion_r2232804132
##########
providers/mongo/src/airflow/providers/mongo/hooks/mongo.py:
##########
@@ -212,7 +211,10 @@ def _create_uri(self) -> str:
netloc = f"{quote_plus(login)}:{quote_plus(password)}@{netloc}"
if self.connection.port:
netloc = f"{netloc}:{self.connection.port}"
- path = f"/{self.connection.schema}"
+ if self.connection.schema:
Review Comment:
Yeah its a bug, happy to make another PR ? if no schema provided the default
is coming as None
--
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]