瀏覽代碼

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):