Преглед на файлове

17710 remove cached fields from CableTermination GraphQL

Arthur Hanson преди 1 година
родител
ревизия
aa3f4cb5f5
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      netbox/dcim/graphql/types.py

+ 1 - 1
netbox/dcim/graphql/types.py

@@ -112,7 +112,7 @@ class ModularComponentTemplateType(ComponentTemplateType):
 
 @strawberry_django.type(
     models.CableTermination,
-    exclude=('termination_type', 'termination_id'),
+    exclude=('termination_type', 'termination_id', '_device', '_rack', '_location', '_site'),
     filters=CableTerminationFilter
 )
 class CableTerminationType(NetBoxObjectType):