Skip to content

Commit a721dbc

Browse files
committed
mv optional_fields after_required_fields
Signed-off-by: wiseaidev <[email protected]>
1 parent 4791365 commit a721dbc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_hash_model.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ class Member(BaseHashModel):
5151
last_name: str = Field(index=True)
5252
email: str = Field(index=True)
5353
join_date: datetime.date
54-
height: Optional[int] = None
55-
weight: Optional[float] = None
5654
age: int = Field(index=True, sortable=True)
5755
bio: str = Field(index=True, full_text_search=True)
56+
height: Optional[int] = None
57+
weight: Optional[float] = None
5858

5959
class Meta:
6060
model_key_prefix = "member"

0 commit comments

Comments
 (0)