Skip to content

Commit

Permalink
mv optional_fields after_required_fields
Browse files Browse the repository at this point in the history
Signed-off-by: wiseaidev <business@wiseai.dev>
  • Loading branch information
wiseaidev committed Aug 12, 2022
1 parent 4791365 commit a6cca90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_hash_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ class Member(BaseHashModel):
last_name: str = Field(index=True)
email: str = Field(index=True)
join_date: datetime.date
height: Optional[int] = None
weight: Optional[float] = None
age: int = Field(index=True, sortable=True)
bio: str = Field(index=True, full_text_search=True)
height: Optional[int]
weight: Optional[float]

class Meta:
model_key_prefix = "member"
Expand Down

0 comments on commit a6cca90

Please sign in to comment.