def command_callback(result=None):
    """
    :type result: opendnp3.ICommandTaskResult
    """
    print("Received command result with summary: {}".format(opendnp3.TaskCompletionToString(result.summary)))
    result.ForeachItem(collection_callback)
def command_callback(result=None):
    """
    :type result: opendnp3.ICommandTaskResult
    """
    print("Received command result with summary: {}".format(opendnp3.TaskCompletionToString(result.summary)))
    result.ForeachItem(collection_callback)
def command_callback ( result = None ) : print ( "Received command result with summary: {}" . format ( opendnp3 . TaskCompletionToString ( result . summary ) ) ) result . ForeachItem ( collection_callback )
:type result: opendnp3.ICommandTaskResult
: type result : opendnp3 . ICommandTaskResult