-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
return str(result.inserted_id) |
Currently create_document
returns a document ID rather than one or more documents like the other non-destructive operations. The resulting ID has to be passed to get_document
for the relevant API endpoints. Is this behavior intentional? If so, I would recommend adding a comment explaining why, or if not, updating the function to return the result of calling get_document
with the new ID as a parameter.
Metadata
Metadata
Assignees
Labels
No labels