Skip to content

Query cannot have a field named 'type' #700

@jjmurre

Description

@jjmurre

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).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions