Skip to content

Commit d0416dc

Browse files
authored
fix: make service technologies field optional (#13)
1 parent d0e82af commit d0416dc

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

instana_client/models/service.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class Service(BaseModel):
3131
id: StrictStr = Field(description="Unique ID of the Service. Eg: `3feb3dcd206c166ef2b41c707e0cd38d7cd325aa`.")
3232
label: StrictStr = Field(description="Name of the Service. Eg: `payment`.")
3333
snapshot_ids: List[StrictStr] = Field(description="A unique identifier the metrics are assigned to.", alias="snapshotIds")
34-
technologies: List[StrictStr] = Field(description="List of technologies: `Eg:[\"springbootApplicationContainer\"]`")
34+
technologies: Optional[List[StrictStr]] = Field(default=None, description="List of technologies: `Eg:[\"springbootApplicationContainer\"]`")
3535
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.")
3636
__properties: ClassVar[List[str]] = ["entityType", "id", "label", "snapshotIds", "technologies", "types"]
3737

@@ -112,5 +112,3 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
112112
"types": obj.get("types")
113113
})
114114
return _obj
115-
116-

0 commit comments

Comments
 (0)