Skip to content

Commit 3712542

Browse files
committed
Fixed PEP8 syntax
1 parent b91ae4b commit 3712542

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

graphene/contrib/django/tests/test_types.py

+1
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ def test_interface_objecttype_init_unexpected():
8989
Human(object())
9090
assert str(excinfo.value) == "Human received a non-compatible instance (object) when expecting Article"
9191

92+
9293
def test_object_type():
9394
object_type = schema.T(Human)
9495
Human._meta.fields_map

graphene/core/types/field.py

+1
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ def internal_type(self, schema):
7979
resolver = getattr(type_objecttype, 'mutate')
8080
else:
8181
my_resolver = resolver
82+
8283
@wraps(my_resolver)
8384
def wrapped_func(instance, args, info):
8485
if not isinstance(instance, self.object_type):

0 commit comments

Comments
 (0)