We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We need explicitly add the dependency pydantic>=1.9.0 in setup.py. With pydantic==1.8.2, the following error is throw
pydantic>=1.9.0
setup.py
pydantic==1.8.2
$ pytest tests/unit/test_pydantic.py
cls = <class 'docarray.array.document.DocumentArray'>, indent = 2 @classmethod def get_json_schema(cls, indent: int = 2) -> str: """Return a JSON Schema of DocumentArray class.""" > from pydantic import schema_json_of E ImportError: cannot import name 'schema_json_of' from 'pydantic' (/Users/fengwang/.pyenv/versions/3.8.3/lib/python3.8/site-packages/pydantic/__init__.cpython-38-darwin.so) docarray/array/mixins/pydantic.py:13: ImportError
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
We need explicitly add the dependency
pydantic>=1.9.0
insetup.py
. Withpydantic==1.8.2
, the following error is throwThe text was updated successfully, but these errors were encountered: