You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a new user of invoke, I noticed that when I would try to print the promise returned by a Runner.run call with asynchronous=True (see above code for an example), I would get the following error:
AttributeError: 'Promise' object has no attribute 'exited'
Looking at runners.py, it seems the issue is that since Promise is a subclass of Result, and so inherits its __str__ method.
The text was updated successfully, but these errors were encountered:
As a new user of invoke, I noticed that when I would try to print the promise returned by a
Runner.run
call withasynchronous=True
(see above code for an example), I would get the following error:Looking at runners.py, it seems the issue is that since
Promise
is a subclass ofResult
, and so inherits its__str__
method.The text was updated successfully, but these errors were encountered: