-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers
Milestone
Description
The UpdateRoleBody
and NewRoleBody
have some issues and need some updates, here are the needed updates:
-
The
UpdateRoleBody.name
has amax_length
of 64 instead of the 32 inNewRoleBody.name
.
name: str = Field("", min_length=4, max_length=64) -
The
NewRoleBody.color
andUpdateRoleBody.color
could use apydantic.Color
field instead of the currentint
field.
color: Optional[int] = Field(None, le=0xFFFFFF, ge=0) color: Optional[int] = Field(None, le=0xFFFFFF, ge=0)
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers