pydantic-numpy
pydantic-numpy copied to clipboard
import error using latest pydantic
the following import::
from pydantic.fields import ModelField
trows an exception when using latest pydantic
>>> from pydantic.fields import ModelField
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: cannot import name 'ModelField' from 'pydantic.fields' (/home/epinux/mambaforge/envs/fastapi/lib/python3.10/site-packages/pydantic/fields.py)
confirmed in: https://github.com/pydantic/pydantic/issues/6701 ModelField is no longer available
Is there no fix for this? Can't really use the library bc of this issues currently
@cheind, could you archive this repository? Just so that everybody can find their way to the right place to post issues.
You should also post that active development has moved to https://github.com/caniko/pydantic-numpy