Skip to content

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

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)

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions