Skip to content

Calculated fields are not visible in the schema  #960

@leiserfg

Description

@leiserfg

The schema of the models uses validation instead of serialization and that causes the computed fields not to be shown (see https://docs.pydantic.dev/latest/api/json_schema/#pydantic.json_schema.JsonSchemaMode).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions