The callbacksHelper default callback lists 'args' and 'kwargs' as something to be expected by default - at lest that’s how it reads. However following the wiki’s comment reading:
To see an example immediately after set up, open a textport and call .DoCallback(‘onTest’, {‘extraInfo’: ‘whatever you want’}
which runs the following default callback:
def onTest(info : dict):
"""
This is a callback. Be nice to the user and document your callbacks well!
Args;
info: dict - The info passed to the callback. Contains the following:
['ownerComp'] - The component that called the callback.
['callbackName'] - The name of the callback.
['args'] - The arguments passed to the callback.
['kwargs'] - The keyword arguments passed to the callback.
"""
debug('onTest callback. info:', info)
in reality this produces the following, which goes against the comment:
onTest callback. info: { 'extraInfo': 'whatever you want',
'ownerComp': type:baseCOMP path:/project1/base1,
'callbackName': 'onTest'}
(Debug - DAT:/project1/base1_callbacks fn:onTest line:18)
I believe this could be clarified better somehow!