Open cnarvaezmeli opened 3 years ago
Thanks for catching this! Would you like to create a pull request to fix the issue? I agree with both suggestions you made (and + probably improving the assertion message).
@rkooo567 can I assign this docs change to you?
Hmm idk how this is currently possible. It seems like the default value should be set to 1. I will defer the issue until repro is provided
I was getting an error trying to understand how to use the actor methods and I got an assertion error without much info.
Looking at the code I saw actor methods should have the
num_returns
attribute.This info is not clear in the actor documentation, it seems optional.
I think we can approach this in two ways:
assert "num_returns" in kwargs
should be done first