From 3e6ae2b43fde4b92e0fb44f7ef41bce908e067a8 Mon Sep 17 00:00:00 2001 From: osdakira Date: Fri, 13 Mar 2026 09:49:43 +0900 Subject: [PATCH] fix: make service technologies field optional --- instana_client/models/service.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/instana_client/models/service.py b/instana_client/models/service.py index bb18706..f18a460 100644 --- a/instana_client/models/service.py +++ b/instana_client/models/service.py @@ -31,7 +31,7 @@ class Service(BaseModel): id: StrictStr = Field(description="Unique ID of the Service. Eg: `3feb3dcd206c166ef2b41c707e0cd38d7cd325aa`.") label: StrictStr = Field(description="Name of the Service. Eg: `payment`.") snapshot_ids: List[StrictStr] = Field(description="A unique identifier the metrics are assigned to.", alias="snapshotIds") - technologies: List[StrictStr] = Field(description="List of technologies: `Eg:[\"springbootApplicationContainer\"]`") + technologies: Optional[List[StrictStr]] = Field(default=None, description="List of technologies: `Eg:[\"springbootApplicationContainer\"]`") types: List[StrictStr] = Field(description="Shows types of Endpoints a Service can consist of. It may be one or more. Eg: `HTTP` `OPENTELEMETRY` can be in 1 Service.") __properties: ClassVar[List[str]] = ["entityType", "id", "label", "snapshotIds", "technologies", "types"] @@ -112,5 +112,3 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "types": obj.get("types") }) return _obj - -