You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/10/28 11:30:43 UTC

[GitHub] [airflow] bhavaniravi commented on a change in pull request #19280: 19223 - add mongo_db param to function doc string

bhavaniravi commented on a change in pull request #19280:
URL: https://github.com/apache/airflow/pull/19280#discussion_r738296883



##########
File path: airflow/providers/mongo/sensors/mongo.py
##########
@@ -27,6 +27,7 @@ class MongoSensor(BaseSensorOperator):
     >>> mongo_sensor = MongoSensor(collection="coll",
     ...                            query={"key": "value"},
     ...                            mongo_conn_id="mongo_default",
+    ...                            mongo_db="admin",
     ...                            task_id="mongo_sensor")

Review comment:
       Good idea! I am creating a guide for mongo db, and airflow will reuse it for the documentation.
    Let's not hold this PR, though since we merged #19276, there is a mismatch in the docstring




-- 
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-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org