arbitrary_types_allowed does not propagate to the model which is created for a NamedTuple #4219
Closed
3 tasks done
Labels
bug V1
Bug related to Pydantic V1.X
Checks
Bug
When using a NamedTuple as a field in a pydantic model, it cannot have arbitrary types - even if
arbitrary_types_allowed
isTrue
on the model. I found that whencreate_model_from_namedtuple
is called,config
is not passed (but forTypedDict
, it is passed).Output of
python -c "import pydantic.utils; print(pydantic.utils.version_info())"
:The text was updated successfully, but these errors were encountered: