Skip to content

replace enum datastructure to a simple class structure in yrpc #22

@yingshaoxo

Description

@yingshaoxo

Old:

class User_Type(Enum):
    user = "user"
    admin = "admin"

New:

class User_Type():
    user: str = "user"
    admin: str = "admin"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions