Skip to content

Conversation

alibitek
Copy link
Contributor

@alibitek alibitek commented Nov 3, 2016

pip3 install graphene
python3 hello.py

An error occurred while resolving field Query.hello
Traceback (most recent call last):
  File "/home/alpha/.pyenv/versions/3.5.1/lib/python3.5/site-packages/graphql/execution/executor.py", line 190, in resolve_or_error
    return executor.execute(resolve_fn, source, args, context, info)
  File "/home/alpha/.pyenv/versions/3.5.1/lib/python3.5/site-packages/graphql/execution/executors/sync.py", line 7, in execute
    return fn(*args, **kwargs)
TypeError: resolve_hello() takes 3 positional arguments but 4 were given
None

Also see: https://github.com/graphql-python/graphene/#examples

TypeError: resolve_hello() takes 3 positional arguments but 4 were given
@facebook-github-bot
Copy link

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla - and if you have received this in error or have any questions, please drop us a line at [email protected]. Thanks!

If you are contributing on behalf of someone else (eg your employer): the individual CLA is not sufficient - use https://developers.facebook.com/opensource/cla?type=company instead. Contact [email protected] if you have any questions.

@facebook-github-bot
Copy link

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!

@stubailo stubailo merged commit 1071b50 into graphql:source Nov 3, 2016
Dipeshwagle pushed a commit to Dipeshwagle/graphql.github.io that referenced this pull request Aug 18, 2020
TypeError: resolve_hello() takes 3 positional arguments but 4 were given
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants