Revert "."

This reverts commit 9e6fbb1167.
This commit is contained in:
Fernando Tancini 2021-08-31 00:18:22 -03:00
parent 9e6fbb1167
commit 54815497e6

View File

@ -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