Skip to content

Refractor models to so that init takes individual fields and make a from_dict class method #4

Description

@vlee489

A number of models use the old model design this issue is to refractor the following

  • __init__() should take individual fields and not a single dict
  • Make a from_dict() classmethod that allow object creation from data provided from a dict

Activity

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

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions