From 6ebd244da906bba0fe18184c72cc76587f4d69d0 Mon Sep 17 00:00:00 2001 From: EdFage <87755165+EdFage@users.noreply.github.com> Date: Fri, 1 Dec 2023 17:33:38 +0000 Subject: [PATCH] swap latitude and longitude in description so it is correct --- quartz_solar_forecast/pydantic_models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/quartz_solar_forecast/pydantic_models.py b/quartz_solar_forecast/pydantic_models.py index 6e67f686..83e5d76a 100644 --- a/quartz_solar_forecast/pydantic_models.py +++ b/quartz_solar_forecast/pydantic_models.py @@ -3,6 +3,6 @@ class PVSite(BaseModel): - latitude: float = Field(..., description="the longitude of the site", ge=-90, le=90) - longitude: float = Field(..., description="the latitude of the site", ge=-180, le=180) + latitude: float = Field(..., description="the latitude of the site", ge=-90, le=90) + longitude: float = Field(..., description="the longitude of the site", ge=-180, le=180) capacity_kwp: float = Field(..., description="the capacity [kwp] of the site", ge=0)