Просмотр исходного кода

17710 remove cached fields from CableTermination GraphQL

Arthur Hanson 1 год назад
Родитель
Сommit
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):