From ecb8699364f1b6a7c212a221ba40dcf9f7c40efc Mon Sep 17 00:00:00 2001 From: GitOldGrumpy Date: Mon, 12 Feb 2024 09:54:02 +0000 Subject: [PATCH] Make shop_genuine_parts_url optional. --- mytoyota/models/endpoints/vehicle_guid.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mytoyota/models/endpoints/vehicle_guid.py b/mytoyota/models/endpoints/vehicle_guid.py index 2072fd87..5f8fc975 100644 --- a/mytoyota/models/endpoints/vehicle_guid.py +++ b/mytoyota/models/endpoints/vehicle_guid.py @@ -424,7 +424,7 @@ class VehicleGuidModel(BaseModel): alias="serviceConnectStatus" ) # TODO unsure what this returns services: List[Any] # TODO unsure what this returns - shop_genuine_parts_url: str = Field(alias="shopGenuinePartsUrl") + shop_genuine_parts_url: Optional[str] = Field(alias="shopGenuinePartsUrl") status: str stock_pic_reference: str = Field(alias="stockPicReference") subscriber_guid: UUID = Field(alias="subscriberGuid")