Skip to content

Considering refactoring ManyPydanticModel to a special case of PydanticModel #46

@bruno-f-cruz

Description

@bruno-f-cruz

An obvious generalization would be to make ManyPydanticModel a syntactic sugar around PydanticModel where the model is

ManyPydanticModelsAlias = TypeAdapter(list[TModel])

This could also provide an interesting way to generalizing parsing using TypeAdapter

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions