Skip to content
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

Error with None result #183

Closed
ooq opened this issue Sep 6, 2017 · 0 comments · Fixed by #184
Closed

Error with None result #183

ooq opened this issue Sep 6, 2017 · 0 comments · Fixed by #184

Comments

@ooq
Copy link
Collaborator

ooq commented Sep 6, 2017

def f_none(key):
    return None
f = pwex.call_async(f_none, None)
pywren.wait([f])
print(f.result())

The above code errs at:

     97         if self._state == JobState.success:
---> 98             assert self._return_val != None
     99             return self._return_val
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 a pull request may close this issue.

1 participant