Skip to content

Adding better support for pydantic models #529

@pafi-code

Description

@pafi-code

I'd like to know if there is any way on how one can get better outputs for pydantic models.
There is a library called autodoc_pydantic, which provides better support for pydantic models. However as of now you are only using auto-doc:

from sphinx.ext import autodoc

Is there any chance that these implementations can be extended to be using the autodoc_pydantic ones for pydantic models?
What would be required to get this to work?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions