def _convert_to_array_of_mor(mors):
 array_of_mors = DataObject()
 array_of_mors.ManagedObjectReference = mors
 return array_of_mors

def _convert_to_array_of_mor ( mors ) : array_of_mors = DataObject ( ) array_of_mors . ManagedObjectReference = mors return array_of_mors
wraps the given array into a dataobject .