Skip to content

Commit

Permalink
Added the cable -> CableType-Annotation in CableTerminationType.
Browse files Browse the repository at this point in the history
  • Loading branch information
dxks authored and jeremystretch committed Dec 16, 2024
1 parent fff4ec7 commit 382e246
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion netbox/dcim/graphql/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')],
Expand Down

0 comments on commit 382e246

Please sign in to comment.