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 dbf34ec commit 025df39Copy full SHA for 025df39
graphql/type/definition.py
@@ -216,7 +216,7 @@ def define_field_map(type, field_map):
216
result_field_map = collections.OrderedDict()
217
for field_name, field in field_map.items():
218
assert_valid_name(field_name)
219
- field_args = field.args
+ field_args = getattr(field, 'args', None)
220
221
if field_args:
222
assert isinstance(field_args, collections.Mapping), (
0 commit comments