Jelajahi Sumber

Fixes #18895: Allows VirtualCircuitTerminations as Interface connected_endpoints (#19027)

Jason Novinger 10 bulan lalu
induk
melakukan
d3f42deb32
1 mengubah file dengan 1 tambahan dan 0 penghapusan
  1. 1 0
      netbox/dcim/graphql/mixins.py

+ 1 - 0
netbox/dcim/graphql/mixins.py

@@ -30,6 +30,7 @@ class PathEndpointMixin:
 
     connected_endpoints: List[Annotated[Union[
         Annotated["CircuitTerminationType", strawberry.lazy('circuits.graphql.types')],  # noqa: F821
+        Annotated["VirtualCircuitTerminationType", strawberry.lazy('circuits.graphql.types')],  # noqa: F821
         Annotated["ConsolePortType", strawberry.lazy('dcim.graphql.types')],  # noqa: F821
         Annotated["ConsoleServerPortType", strawberry.lazy('dcim.graphql.types')],  # noqa: F821
         Annotated["FrontPortType", strawberry.lazy('dcim.graphql.types')],  # noqa: F821