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



##########
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:
       I think it would be better to extract examples to example file and add 
them to the docs this is easier to maintain and also gives better experience 
for the users who seek for this information.
   WDYT?




-- 
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]


Reply via email to