From 7a217afc6a85e1ef6e803e7e137594a0d896d8e9 Mon Sep 17 00:00:00 2001 From: Arthur Date: Mon, 17 Mar 2025 15:23:41 -0700 Subject: [PATCH] 16224 remove extraneous code --- netbox/netbox/graphql/schema.py | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/netbox/netbox/graphql/schema.py b/netbox/netbox/graphql/schema.py index 2a49739d3..fc2b2cc6b 100644 --- a/netbox/netbox/graphql/schema.py +++ b/netbox/netbox/graphql/schema.py @@ -20,22 +20,6 @@ from vpn.graphql.schema import VPNQuery from wireless.graphql.schema import WirelessQuery -""" -class ModelOrderingExtension(SchemaExtension): - - def resolve(self, next_, root, info, *args, **kwargs): - ret = next_(root, info, *args, **kwargs) - - if isinstance(ret, BaseManager): - ret = ret.all() - - if isinstance(ret, QuerySet) and ret._result_cache is None: # type: ignore - ret = reapply_model_ordering(ret) - - return ret -""" - - @strawberry.type class Query( UsersQuery,