From 7380ceb0557824499d65db7892401ab900c6944c Mon Sep 17 00:00:00 2001 From: Dylan Toner Date: Thu, 3 Oct 2024 20:33:17 +0100 Subject: [PATCH] update old pydantic field name --- wlanpi_core/schemas/utils/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wlanpi_core/schemas/utils/utils.py b/wlanpi_core/schemas/utils/utils.py index 29008c0..e6d71c4 100644 --- a/wlanpi_core/schemas/utils/utils.py +++ b/wlanpi_core/schemas/utils/utils.py @@ -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):