def get_objects(vim, type, properties_to_collect=None, all=False):
    'Gets the list of objects of the type specified.'
    return vutil.get_objects(vim, type, CONF.vmware.maximum_objects, properties_to_collect, all)
Gets the list of objects of the type specified.
def get_objects(vim, type, properties_to_collect=None, all=False):
    
    return vutil.get_objects(vim, type, CONF.vmware.maximum_objects, properties_to_collect, all)