Closed daquinteroflex closed 8 months ago
I was looking further into your actual API documentation, and found that it should be implemented already ie from source.
I am looking into exactly the configuration
Make sure:members:
is specified as the default is False
Hi @daquinteroflex, by default, showing members is enabled for documenters provided by autodoc_pydantic, see docs here. Perhaps you've overwritten the global config to hide members? If not, then this might be a bug for methods that are not pydantic validators. Could you please check your setup?
Hi @mansenfranzen thanks so much! I realised actually that we were using the pydantic-v1 interface layer underneath and that led to all the weird behaviour I was seeing.
Looking forward to contribute to this project whenever we migrate to v2 properly, thanks again!
For a class such as the following, the
print_something
non-validation method does not get generated into the documentation. I think I've checked thoroughly in the configurationdocumentation and can't see an option that enables the standard documentation output for that method: