We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cbbf745 commit 821ea07Copy full SHA for 821ea07
source/data-formats/custom-types.txt
@@ -395,7 +395,7 @@ of the custom type. Select the
395
collection = db.get_collection("test", codec_options=codec_options)
396
await collection.insert_one({"num": DecimalInt("45.321")})
397
398
- my_doc = collection.find_one()
+ my_doc = await collection.find_one()
399
pprint.pprint(my_doc)
400
401
.. output::
0 commit comments