Skip to content

Use TypedDict for models? #573

Closed
Closed

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

Activity

  1. added
    ✨ enhancement
    on Jan 20, 2022
  2. locked and limited conversation to collaborators on Jan 23, 2022
  3. converted this issue into a discussion #574 on Jan 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ✨ enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions