No call_method_full in Class Node #933
Replies: 3 comments 3 replies
-
call_method_full was a hack to solve an issue without changing the API. if you want something better maybe you could add a named argument to call_method like |
Beta Was this translation helpful? Give feedback.
-
Good point, changing the output is a bad idea. so you proposition is better. But if we first return more details I would prefer to return the raw result so satisfy everyone- For example call it |
Beta Was this translation helpful? Give feedback.
-
You say that the result is "something hybrid" that does not return clean Python objects and also not the real Ua objects. Would you like to have the "old" output of the method_call_full() method under the new name method_call_with_raw_result()? |
Beta Was this translation helpful? Give feedback.
-
Is there any reason, why there is no call_method_full() used in class Node?
call_method()
is used there...The funktions
call_method()
andcall_method_full()
are defined in ./common/methods.py.The
class Node
is defined in ./common/node.py.I occasionally use call_method_full(). Are there any reasons not to include it in the Node class?
1 vote ·
Beta Was this translation helpful? Give feedback.
All reactions