

def describe(self, context, ids=None, names=None, filter=None, max_results=None, next_token=None):
    if filter:
        for f in filter:
            if f['name'].startswith('tag:'):
                tag_key = f['name'].split(':')[1]
                tag_values = f['value']
                f['name'] = 'tag'
                f['value'] = [{
                    'key': tag_key,
                    'value': tag_values,
                }]
    return super(TaggableItemsDescriber, self).describe(context, ids=ids, names=names, filter=filter, max_results=max_results, next_token=next_token)

dataset/ETHPy150Open openstack/ec2-api/ec2api/api/common.py TaggableItemsDescriber.describe/original