Skip to content

Got error for "unexpected keyword argument 'id'" #6

@jeffwji

Description

@jeffwji

I think this is good sample, but however I got this error, are you able to update your demo? Appreciated.

TypeError: resolve_person() got an unexpected keyword argument 'id'
  File "/home/jeff/.local/lib/python3.6/site-packages/graphql/execution/executor.py", line 311, in resolve_or_error
return executor.execute(resolve_fn, source, info, **args)
  File "/home/jeff/.local/lib/python3.6/site-packages/graphql/execution/executors/sync.py", line 7, in execute
return fn(*args, **kwargs)
Traceback (most recent call last):
graphql.error.located_error.GraphQLLocatedError: resolve_person() got an unexpected keyword argument 'id'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions