Skip to content

The return type should be Union[dict, List[dict]] to accurately represent what the method returns. #255

Closed

Description

@axelsrz

The method serialize_model returns dict but when the input is a list, it returns a list of dicts. The return type should be Union[dict, List[dict]] to accurately represent what the method returns.

Originally posted by @Copilot in #221 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

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