mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-21 03:27:21 -06:00
Added the cable -> CableType-Annotation in CableTerminationType.
This commit is contained in:
parent
fff4ec78ad
commit
382e246b2c
@ -116,7 +116,7 @@ class ModularComponentTemplateType(ComponentTemplateType):
|
|||||||
filters=CableTerminationFilter
|
filters=CableTerminationFilter
|
||||||
)
|
)
|
||||||
class CableTerminationType(NetBoxObjectType):
|
class CableTerminationType(NetBoxObjectType):
|
||||||
|
cable: Annotated["CableType", strawberry.lazy('dcim.graphql.types')] | None
|
||||||
termination: Annotated[Union[
|
termination: Annotated[Union[
|
||||||
Annotated["CircuitTerminationType", strawberry.lazy('circuits.graphql.types')],
|
Annotated["CircuitTerminationType", strawberry.lazy('circuits.graphql.types')],
|
||||||
Annotated["ConsolePortType", strawberry.lazy('dcim.graphql.types')],
|
Annotated["ConsolePortType", strawberry.lazy('dcim.graphql.types')],
|
||||||
|
Loading…
Reference in New Issue
Block a user