From 382e246b2c0ac1726d3d23847319dbebde80c893 Mon Sep 17 00:00:00 2001 From: Kay Schroeder Date: Wed, 4 Dec 2024 17:25:07 +0100 Subject: [PATCH] Added the cable -> CableType-Annotation in CableTerminationType. --- netbox/dcim/graphql/types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netbox/dcim/graphql/types.py b/netbox/dcim/graphql/types.py index bce6f06ac2..da219c7545 100644 --- a/netbox/dcim/graphql/types.py +++ b/netbox/dcim/graphql/types.py @@ -116,7 +116,7 @@ class ModularComponentTemplateType(ComponentTemplateType): filters=CableTerminationFilter ) class CableTerminationType(NetBoxObjectType): - + cable: Annotated["CableType", strawberry.lazy('dcim.graphql.types')] | None termination: Annotated[Union[ Annotated["CircuitTerminationType", strawberry.lazy('circuits.graphql.types')], Annotated["ConsolePortType", strawberry.lazy('dcim.graphql.types')],