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
iRestCall, iDB2Call, and iLibCall do not work, bu t always return 'error': '*NODATA'.
The problem is caused by refactoring of the code as sub-classes of HttpTransport, DatabaseTransport, and DirectTransport and not returning a value from the sub-classed call methods, causing None to be returned instead.
The text was updated successfully, but these errors were encountered:
Functions in quite a few languages return the last-evaluated expression in the absence of an explicit return. My guess is you slipped into Ruby mode. ;)
I actually do not like that behavior, so never did that in Ruby (even if it was idiomatic 🤷♂️).
I think I was just re-structuring them all at once and making sure to get the super() call formatted correctly and working across Python 2/3 that I missed the return.
jkyeung
pushed a commit
to jkyeung/python-itoolkit
that referenced
this issue
May 29, 2019
iRestCall, iDB2Call, and iLibCall do not work, bu t always return
'error': '*NODATA'
.The problem is caused by refactoring of the code as sub-classes of HttpTransport, DatabaseTransport, and DirectTransport and not returning a value from the sub-classed
call
methods, causingNone
to be returned instead.The text was updated successfully, but these errors were encountered: