-
Notifications
You must be signed in to change notification settings - Fork 27
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
Config subclass is shown when explicitly set otherwise #291
Comments
Hi @Ecaloota, thanks for raising this issue here! I think you've might have mixed up the different versions of
Please be aware, the nested I hope this helps. Feel free to reopen this issue. |
@allcontributors please add @Ecaloota for question |
I've put up a pull request to add @Ecaloota! 🎉 |
Thanks for clarifying! |
Given the following relevant
conf.py
options:And a Pydantic model such as the following:
And a rst file containing an
.. automodule::
directive pointing the module which contains that model, I obtain rendered output which contains an empty field containingclass Config
. Also, the docstring for the Config subclass is rendered if present, and excluded if given an explicit:meta private:
directive.I would expect that at least the
autodoc_pydantic_model_show_config_member
might prevent the Config subclass from being rendered -- am I missing something?Using version 2.2.0
The text was updated successfully, but these errors were encountered: