We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60b6ba8 commit c389924Copy full SHA for c389924
graphene_django/rest_framework/mutation.py
@@ -1,6 +1,7 @@
1
from collections import OrderedDict
2
from functools import partial
3
4
+import six
5
import graphene
6
from graphene.types import Argument, Field
7
from graphene.types.mutation import Mutation, MutationMeta
@@ -98,7 +99,7 @@ def fields_for_serializer(options):
98
99
return fields
100
101
-class SerializerMutation(Mutation, metaclass=SerializerMutationMeta):
102
+class SerializerMutation(six.with_metaclass(SerializerMutationMeta, Mutation)):
103
errors = graphene.List(
104
ErrorType,
105
description='May contain more than one error for '
0 commit comments