Skip to content

Commit 821ea07

Browse files
committed
Fix
1 parent cbbf745 commit 821ea07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/data-formats/custom-types.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ of the custom type. Select the
395395
collection = db.get_collection("test", codec_options=codec_options)
396396
await collection.insert_one({"num": DecimalInt("45.321")})
397397

398-
my_doc = collection.find_one()
398+
my_doc = await collection.find_one()
399399
pprint.pprint(my_doc)
400400

401401
.. output::

0 commit comments

Comments
 (0)