One general way to query MongoDB from Python is with the `db.collection.find` method.

The `find()` method has the following form:

`db.collection.find(query, projection, options)`

Each argument is optional. To return all documents in a collection, you can use `{}` as the argument to the query parameter.

Refer to the MongoDB documentation for a full list of query selectors and other options that you can use.

Here's a general example.

```python
from pymongo import MongoClient
def get_database():

   # Provide the mongodb atlas url to connect python to mongodb using pymongo
   CONNECTION_STRING = "mongodb+srv://user:pass@cluster.mongodb.net/myFirstDatabase"

   # Create a connection using MongoClient. You can import MongoClient or use pymongo.MongoClient
   client = MongoClient(CONNECTION_STRING)

   # Create the database for our example (we will use the same database throughout the tutorial
   return client['user_shopping_list']

# Get the database using the method we defined in earlier
dbname = get_database()

# Retrieve a collection named "user_1_items" from database
collection_name = dbname["user_1_items"]

item_details = collection_name.find()
for item in item_details:
   print(item)
```
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence