You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found problems with list of embedded model whose fields use key_name: the embedded list of document saved in db does not use key_name (following a code to reproduce the issue)
The document should be {"_id" : ObjectId(...), "in" : [{"in-a" : 3},{"in-a" : 4}],"out-o" : "ciao"}
Probably once resolved the insertion, there will be a problem similar to #260 in resuming document from db (I'm testing my code on an already populated db and the problem arises).
I found problems with list of embedded model whose fields use key_name: the embedded list of document saved in db does not use key_name (following a code to reproduce the issue)
The document should be {"_id" : ObjectId(...), "in" : [{"in-a" : 3},{"in-a" : 4}],"out-o" : "ciao"}
Probably once resolved the insertion, there will be a problem similar to #260 in resuming document from db (I'm testing my code on an already populated db and the problem arises).
Environment
python -c "import pydantic.utils; print(pydantic.utils.version_info())
):pydantic version: 1.10.1
pydantic compiled: True
install path: C:\Users\utente\Ploovium\Repos\Ploovium-UtilsNEW\venv\Lib\site-packages\pydantic
python version: 3.8.10 (tags/v3.8.10:3d8993a, May 3 2021, 11:48:03) [MSC v.1928 64 bit (AMD64)]
platform: Windows-10-10.0.19043-SP0
optional deps. installed: ['typing-extensions']
The text was updated successfully, but these errors were encountered: