From 54815497e65c215c5ce47e21b10bf12afc7aba34 Mon Sep 17 00:00:00 2001 From: Fernando Tancini Date: Tue, 31 Aug 2021 00:18:22 -0300 Subject: [PATCH] Revert "." This reverts commit 9e6fbb1167ba52bbe12c622e481dde3846268441. --- graphene_django/debug/types.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/graphene_django/debug/types.py b/graphene_django/debug/types.py index 46b8e6a..a523b4f 100644 --- a/graphene_django/debug/types.py +++ b/graphene_django/debug/types.py @@ -1,4 +1,4 @@ -from graphene import List, ObjectType, Int +from graphene import List, ObjectType from .sql.types import DjangoDebugSQL from .exception.types import DjangoDebugException @@ -9,10 +9,6 @@ class DjangoDebug(ObjectType): description = "Debugging information for the current query." sql = List(DjangoDebugSQL, description="Executed SQL queries for this API query.") - sql_count = Int(description="Number of executed SQL queries for this API query.") exceptions = List( DjangoDebugException, description="Raise exceptions for this API query." ) - - def resolve_sql_count(root, info): - return 3