Skip to content

Commit

Permalink
Fix unittest
Browse files Browse the repository at this point in the history
  • Loading branch information
koxudaxi committed Jul 1, 2023
1 parent 615034a commit 27cb48a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class Pet(BaseModel):


class Pets(RootModel):
root: Set[Pet] = Field(..., max_items=10, min_items=1)
root: Set[Pet] = Field(..., max_length=10, min_length=1)


class UID(RootModel):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class Pet(BaseModel):


class Pets(RootModel):
root: Set[Pet] = Field(..., max_items=10, min_items=1)
root: Set[Pet] = Field(..., max_length=10, min_length=1)


class UID(RootModel):
Expand Down

0 comments on commit 27cb48a

Please sign in to comment.