build3r commented on issue #42930: URL: https://github.com/apache/airflow/issues/42930#issuecomment-2407335618
Looks like the issue is might because of the newly introduced check boxes fro mongo connection. Minimal way to reproduce: 1. Setup mongo connection in Airflow UI 2. Open Python CLI on airflow server 3. Import mongo hook `from airflow.providers.mongo.hooks.mongo import MongoHook` 4. Try to connect `mongo_hook = MongoHook(mongo_conn_id='mongo_default')` Connection fails with `AttributeError: 'bool' object has no attribute 'lower'` Removing the `.lower` from package works -- 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]
