From 76e6b8a1018aa3ef31c3804656242895906d700c Mon Sep 17 00:00:00 2001 From: Zhiwei Liang Date: Thu, 24 Sep 2026 17:18:47 -0400 Subject: [PATCH] TPT-4706: Fix monitor property mutability --- linode_api4/objects/monitor.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/linode_api4/objects/monitor.py b/linode_api4/objects/monitor.py index c23e4cead..6c3a57c51 100644 --- a/linode_api4/objects/monitor.py +++ b/linode_api4/objects/monitor.py @@ -276,8 +276,8 @@ class MonitorDashboard(Base): "id": Property(identifier=True), "created": Property(is_datetime=True), "label": Property(), - "service_type": Property(ServiceType), - "type": Property(DashboardType), + "service_type": Property(), + "type": Property(), "group_by": Property(), "widgets": Property(json_object=DashboardWidget), "updated": Property(is_datetime=True), @@ -294,7 +294,7 @@ class MonitorService(Base): api_endpoint = "/monitor/services/{service_type}" id_attribute = "service_type" properties = { - "service_type": Property(ServiceType), + "service_type": Property(), "label": Property(), "alert": Property(json_object=ServiceAlert), } @@ -495,7 +495,7 @@ class AlertDefinition(DerivedBase): "entity_ids": Property(mutable=True), "description": Property(mutable=True), "service_class": Property(alias_of="class"), - "scope": Property(AlertScope), + "scope": Property(), "regions": Property(mutable=True), "entities": Property(json_object=AlertEntities), "channel_ids": Property(mutable=True),