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