Skip to content

Commit

Permalink
Merge pull request WLAN-Pi#44 from Orbitix/dev
Browse files Browse the repository at this point in the history
Fix old pydantic field name (changed with v2)
  • Loading branch information
joshschmelzle authored Oct 4, 2024
2 parents fb76167 + a9c5766 commit f2183cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wlanpi_core/schemas/utils/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class ReachabilityTest(BaseModel):
arping_gateway: str = Field(example="12.345ms", alias="Arping Gateway")

class Config:
allow_population_by_field_name = True
populate_by_name = True


class SpeedTest(BaseModel):
Expand Down

0 comments on commit f2183cd

Please sign in to comment.