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
The error message is Runtime Error: 'NoneType' object is not iterable
The problem is that alpha should return a list (iterable) of Insight. Calling return without an object in Python is the same as return None.
Checklist
I have completely filled out this template
I have confirmed that this issue exists on the current master branch
I have confirmed that this is not a duplicate issue by searching issues
I have provided detailed steps to reproduce the issue
The text was updated successfully, but these errors were encountered:
Continue to spread out the usage of our BasePythonWrapper helper class, this class can catch failures on properties/method/etc calls adding in more information of what is expected where did the issue happen
- TODO add classes that required PythonWrapper
Detect if the failure is while running python code, method/property itself
Or like in the case of this issue, while converting the output returned to the expected type
Expected Behavior
The error message informs the developer why the conversion failed and the expected type.
Actual Behavior
If a method returns an unexpected type, the error message is not very helpful.
Potential Solution
N/A
Reproducing the Problem
The error message is
Runtime Error: 'NoneType' object is not iterable
The problem is that alpha should return a list (iterable) of Insight. Calling
return
without an object in Python is the same asreturn None
.Checklist
master
branchThe text was updated successfully, but these errors were encountered: