In the example in the documentation of the open_upload_stream_with_id function it states that it returns both a AsyncIOMotorGridIn object, as well as the id of the uploaded file. This is wrong, as this function actually only returns the grid_in object, as the file_id is provided when calling the function itself.
Trying to call the function as indicated will result in the following error:
cannot unpack non-iterable AsyncIOMotorGridIn object
- is related to
-
MOTOR-676 Use doctest for all documentation examples
- Backlog