Franz Wöllert
Franz Wöllert
Thanks for reporting this! Have you tried building the documentation for the same code without `autodoc_pydantic` being activated (with plain sphinx autodoc)? I guess the same warning occurs again. If...
Okay thanks for checking - then it's definitely related to autodoc_pydantic. I will come back to you soon.
Thanks for your additional information. I can now confirm that it is a bug in `autodoc_pydantic` which does not handle reused validators correctly. To properly handle this use case I...
This bug is addressed via #136 while adding two new configuration properties `autodoc_pydantic_model_hide_reused_validator` and `autodoc_pydantic_settings_hide_reused_validator`. You will also find a new a new example with detailed information in the current...
@GlenNicholls Thanks for raising this feature request here! I agree it would be really helpful to support `pydantic.dataclasses.dataclass`. At first glance, this should be possible without too much effort but...
While having a closer look at it, I came across two usage questions: - Do you need a custom [signature prefix](https://autodoc-pydantic.readthedocs.io/en/stable/users/configuration.html#signature-prefix) for dataclasses to distinguish them from pydantic models/settings? -...
Okay thanks for your response. I guess I will support explicit configurations for dataclasses right away instead of using the same configuration settings as for models. As you've pointed out,...
Hi @s0undt3ch, thanks for raising this issue here. To be honest, I have silently assumed that `autodoc_pydantic` handles generic models just as fine as normal pydantic models in the past....
@Yoshanuikabundi Thanks for opening an issue here again 😄. I agree, this would be a nice enhancement. To be more concretely, this would apply to pydantic field signatures specifically, right?...
@Yoshanuikabundi I finally manage to take a closer look at your proposal. While I'm still totally convinced that shortening type hints and preserving defaults do improve documentation, I have doubts...