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.
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.