瀏覽代碼

Closes #22058: Remove redundant declarations on SiteType (#22203)

Jeremy Stretch 1 周之前
父節點
當前提交
5b5cd36cae
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0 2
      netbox/dcim/graphql/types.py

+ 0 - 2
netbox/dcim/graphql/types.py

@@ -920,8 +920,6 @@ class SiteType(VLANGroupsMixin, ImageAttachmentsMixin, ContactsMixin, PrimaryObj
     devices: list[Annotated["DeviceType", strawberry.lazy('dcim.graphql.types')]]
     locations: list[Annotated["LocationType", strawberry.lazy('dcim.graphql.types')]]
     asns: list[Annotated["ASNType", strawberry.lazy('ipam.graphql.types')]]
-    circuit_terminations: list[Annotated["CircuitTerminationType", strawberry.lazy('circuits.graphql.types')]]
-    clusters: list[Annotated["ClusterType", strawberry.lazy('virtualization.graphql.types')]]
     vlans: list[Annotated["VLANType", strawberry.lazy('ipam.graphql.types')]]
 
     @strawberry_django.field(