|
def __init__(self, type, args=None, resolver=None, source=None, |
Because the first argument in the constructor is 'type', so a field named 'type' in 'extra_args' is not permitted:
TypeError: init() got multiple values for argument 'type'
Could by solved by renaming 'type' in the constructor to 'type_' (which is good python practice anyway for python builtins).
graphene/graphene/types/field.py
Line 23 in d46d8e8
Because the first argument in the constructor is 'type', so a field named 'type' in 'extra_args' is not permitted:
TypeError: init() got multiple values for argument 'type'
Could by solved by renaming 'type' in the constructor to 'type_' (which is good python practice anyway for python builtins).