Skip to content

Commit

Permalink
fix: Group类中可选类型校验
Browse files Browse the repository at this point in the history
  • Loading branch information
RockChinQ committed May 7, 2023
1 parent e6228b3 commit c88e202
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions nakuru/entities/group.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ class Anonymous(BaseModel):
flag: str

class Group(BaseModel):
group_id: int
group_name: str
group_memo: str
group_create_time: int
group_id: int
group_level: int
group_name: str
group_memo: Optional[str]
member_count: int
max_member_count: int
max_member_count: Optional[int]

class HonorListNode(BaseModel):
user_id: int
Expand Down

0 comments on commit c88e202

Please sign in to comment.