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
Hello and thank you for this library,
I have a class with arbitrary types such like:
from collections.abc import AsyncIterator class MyClass(BaseModel): stream: AsyncIterator[bytes] model_config = ConfigDict(arbitrary_types_allowed=True)
And doc generation crashes with following error:
WARNING: JSON schema can't be generated for 'MyClass' because the following pydantic fields can't be serialized properly: ['stream']
sphinx: 6.2.1 pydantic: 2.4.0 autodoc_pydantic: 2.0.1
sphinx
pydantic
autodoc_pydantic
The text was updated successfully, but these errors were encountered:
@tkaraouzene thanks for raising the issue here!
To clarify your problem: Does the documentation build process completely fail?
The emitted warning which you have shared is expected. This behaviour can be configured, see here.
Sorry, something went wrong.
No branches or pull requests
Hello and thank you for this library,
I have a class with arbitrary types such like:
And doc generation crashes with following error:
sphinx
: 6.2.1pydantic
: 2.4.0autodoc_pydantic
: 2.0.1The text was updated successfully, but these errors were encountered: