From e9b39020c87c517d0d75571c77845e326cd37571 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karolis=20Vy=C4=8Dius?= Date: Mon, 30 Sep 2024 17:04:42 +0300 Subject: [PATCH] Remove status_id --- src/schemas.py | 1 - src/services.py | 1 - 2 files changed, 2 deletions(-) diff --git a/src/schemas.py b/src/schemas.py index 9ce37de..288737f 100644 --- a/src/schemas.py +++ b/src/schemas.py @@ -200,7 +200,6 @@ class Parcel(BaseModel): unique_number: int = Field(description="Unique number of the parcel") cadastral_number: str = Field(description="Cadastral number of the parcel") updated_at: datetime.date = Field(description="Date of update of the parcel") - status_id: Optional[int] = Field(description="Status ID of the parcel") area_ha: float = Field(description="Area of the parcel in hectares") geometry: Geometry = Field(description="Polygon geometry of the parcel") diff --git a/src/services.py b/src/services.py index 77ddad7..a5f0f0b 100644 --- a/src/services.py +++ b/src/services.py @@ -376,7 +376,6 @@ def _get_select_query( models.Parcels.cadastral_number, models.Parcels.area_ha, models.Parcels.updated_at, - models.Parcels.status_id, _municipality_object, _purpose_type_object, _status_type_object,