Skip to content

Commit d4eff76

Browse files
brendawelesacsany
andauthored
Update python-pydantic/pydantic_models.py
Co-authored-by: Philipp Acsany <[email protected]>
1 parent 2071a6e commit d4eff76

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

python-pydantic/pydantic_models.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ class Employee(BaseModel):
3030
@field_validator("date_of_birth")
3131
@classmethod
3232
def check_valid_age(cls, date_of_birth: date) -> date:
33-
3433
date_delta = date.today() - date_of_birth
3534
age = date_delta.days / 365
3635

0 commit comments

Comments
 (0)