Revert making Person attributes optional
This commit is contained in:
parent
370b59b39a
commit
f3f0bca9bd
1 changed files with 2 additions and 2 deletions
|
|
@ -36,8 +36,8 @@ class Car(DataPoint):
|
|||
class Person(DataPoint):
|
||||
id: str
|
||||
name: str
|
||||
age: Optional[int]
|
||||
owns_car: Optional[list[Car]]
|
||||
age: int
|
||||
owns_car: list[Car]
|
||||
driving_license: Optional[dict]
|
||||
_metadata: dict = dict(index_fields=["name"])
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue