2
0
Эх сурвалжийг харах

Added the cable -> CableType-Annotation in CableTerminationType.

Kay Schroeder 1 жил өмнө
parent
commit
382e246b2c

+ 1 - 1
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')],