From d06d1de0e755eb7c834ca850a69e95922ffdf58f Mon Sep 17 00:00:00 2001 From: Arthur Date: Tue, 23 Apr 2024 11:00:13 -0700 Subject: [PATCH] 15809 fix tests --- netbox/dcim/graphql/mixins.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/netbox/dcim/graphql/mixins.py b/netbox/dcim/graphql/mixins.py index c926afce9..589af50c8 100644 --- a/netbox/dcim/graphql/mixins.py +++ b/netbox/dcim/graphql/mixins.py @@ -23,7 +23,7 @@ class CabledObjectMixin: Annotated["PowerOutletType", strawberry.lazy('dcim.graphql.types')], Annotated["PowerPortType", strawberry.lazy('dcim.graphql.types')], Annotated["RearPortType", strawberry.lazy('dcim.graphql.types')], - ], strawberry.union("LinkPeerType")]] | None + ], strawberry.union("LinkPeerType")]] @strawberry.type @@ -40,4 +40,4 @@ class PathEndpointMixin: Annotated["PowerPortType", strawberry.lazy('dcim.graphql.types')], Annotated["ProviderNetworkType", strawberry.lazy('circuits.graphql.types')], Annotated["RearPortType", strawberry.lazy('dcim.graphql.types')], - ], strawberry.union("ConnectedEndpointType")]] | None + ], strawberry.union("ConnectedEndpointType")]]