The run and run_step methods in Workflow return str. That is inaccurate and can lead to false error reporting in the code editor. They should return Any.
Version
0.11.1
Steps to Reproduce
Nothing to reproduce. Just change the return annotations.
Yes, the return type of the Workflow.run method should be changed from str to Any in version 0.11.1. The method currently returns session._retval, which is not guaranteed to be a string [1].
Bug Description
The run and run_step methods in Workflow return str. That is inaccurate and can lead to false error reporting in the code editor. They should return Any.
Version
0.11.1
Steps to Reproduce
Nothing to reproduce. Just change the return annotations.
Relevant Logs/Tracbacks
No response