Skip to content

Commit 0a1619f

Browse files
TPT-4706: Fix monitor property mutability (#744)
1 parent 8328e7b commit 0a1619f

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎linode_api4/objects/monitor.py‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -276,8 +276,8 @@ class MonitorDashboard(Base):
276276
"id": Property(identifier=True),
277277
"created": Property(is_datetime=True),
278278
"label": Property(),
279-
"service_type": Property(ServiceType),
280-
"type": Property(DashboardType),
279+
"service_type": Property(),
280+
"type": Property(),
281281
"group_by": Property(),
282282
"widgets": Property(json_object=DashboardWidget),
283283
"updated": Property(is_datetime=True),
@@ -294,7 +294,7 @@ class MonitorService(Base):
294294
api_endpoint = "/monitor/services/{service_type}"
295295
id_attribute = "service_type"
296296
properties = {
297-
"service_type": Property(ServiceType),
297+
"service_type": Property(),
298298
"label": Property(),
299299
"alert": Property(json_object=ServiceAlert),
300300
}
@@ -495,7 +495,7 @@ class AlertDefinition(DerivedBase):
495495
"entity_ids": Property(mutable=True),
496496
"description": Property(mutable=True),
497497
"service_class": Property(alias_of="class"),
498-
"scope": Property(AlertScope),
498+
"scope": Property(),
499499
"regions": Property(mutable=True),
500500
"entities": Property(json_object=AlertEntities),
501501
"channel_ids": Property(mutable=True),

0 commit comments

Comments
 (0)