Skip to content
New issue

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

model_computed_fields is shown in rendered output #201

Closed
spacemanspiff2007 opened this issue Feb 14, 2024 · 3 comments
Closed

model_computed_fields is shown in rendered output #201

spacemanspiff2007 opened this issue Feb 14, 2024 · 3 comments

Comments

@spacemanspiff2007
Copy link
Contributor

autodoc_pydantic 2.0.1

Pydantic 2.6.0 introduced a change for model_computed_fields.
Now this is rendered for every Model that is documented:

grafik

@j-carson
Copy link
Contributor

It looks like there is a hardcoded list of "model_" items to suppress -

@mansenfranzen
Copy link
Owner

Done via #202

@mansenfranzen
Copy link
Owner

Before merging the related PR, it would be great if you could test the changed behavior. To do so, please install the current dev release in your doc-building-environment via pip install git+https://github.com/mansenfranzen/autodoc_pydantic.git@v2.1.0-a.1 and rebuild your docs.

Please feel free to reopen if any problem remains. I will release the new version upcoming Monday.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants