From c6e4b5d447b6396fa5a3c90e5cf5dc2d3667db01 Mon Sep 17 00:00:00 2001 From: Tamas Voros Date: Sat, 14 Oct 2023 16:02:30 +0200 Subject: [PATCH] Make plural name optional for Quantity Units --- pygrocy/grocy_api_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pygrocy/grocy_api_client.py b/pygrocy/grocy_api_client.py index c8dc1cd..2b09b45 100644 --- a/pygrocy/grocy_api_client.py +++ b/pygrocy/grocy_api_client.py @@ -71,7 +71,7 @@ class RecipeDetailsResponse(BaseModel): class QuantityUnitData(BaseModel): id: int name: str - name_plural: str + name_plural: Optional[str] = None description: Optional[str] = None row_created_timestamp: datetime