Skip to content

Commit a7dd6b2

Browse files
committed
Adding note about dictionary-like indexing
1 parent aa7f0c5 commit a7dd6b2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/serialization.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,10 @@ that you are modeling your students data using Pydantic_. You want to be able to
8080
of a certain type, and also be able to read them back. More so, you would like to get multiple documents
8181
back using one of the formats provided by pandas_.
8282

83+
.. note::
84+
The driver assumes that the types support dictionary-like indexing, i.e. `doc["_id"]`
85+
returns the id of the document.
86+
8387
**Example:**
8488

8589
.. code-block:: python

0 commit comments

Comments
 (0)