

def take_action(self, parsed_args):
    compute_client = self.app.client_manager.compute
    data = compute_client.server_groups.list(parsed_args.all_projects)
    if parsed_args.long:
        column_headers = ('ID', 'Name', 'Policies', 'Members', 'Project Id', 'User Id')
        columns = ('ID', 'Name', 'Policies', 'Members', 'Project Id', 'User Id')
    else:
        column_headers = columns = ('ID', 'Name', 'Policies')
    return (column_headers, (utils.get_item_properties(s, self, formatters={
        'Policies': utils.format_list,
        'Members': utils.format_list,
    }) for s in data))

dataset/ETHPy150Open dtroyer/python-openstackclient/openstackclient/compute/v2/server_group.py ListServerGroup.take_action/VarMisuse@103/172 `columns`->`self`