Skip to content

Use TypedDict for models? #573

@michaeloliverx

Description

@michaeloliverx

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
TypedDict might be a good option for models:

  • Drop dependency on attrs
  • Great editor support:
    image
  • No need for to_dict or from_dict on models
  • Can use python keywords as keys class etc

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    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