-
Notifications
You must be signed in to change notification settings - Fork 822
schema: TypeError: An asyncio.Future, a coroutine or an awaitable is required #551
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @japrogramer . We're currently going through old issues that appear to have gone stale (ie. not updated in about the last 6 months) to try and clean up the issue tracker. If this is still important to you please comment and we'll re-open this. Thanks! |
Just a note, for having this working you just need to use asyncio executor:
|
@syrusakbary thanks 👍 |
Hi im having issues now, that I have revisited this issue, I have tried also the snipet @syrusakbary suggested above like this
and received this
|
also this
|
@syrusakbary even tho my resolve returns an observable and is an async function whenever i pass |
I always thought that graphene was fully future compliant so I thought the following line would work.
It doesn't .. is their a work around for this?
result = asyncio.wait_for(schema.execute(query, variable_values=foovar, **kwargs), 1.0)
The text was updated successfully, but these errors were encountered: