def details_multiple(output_lines, with_label=False):
 items = []
 tables_ = tables(output_lines)
 for table_ in tables_:
  if (('Property' not in table_['headers']) or ('Value' not in table_['headers'])):
   raise exceptions.InvalidStructure()
  item = {}
  for value in table_['values']:
   item[value[0]] = value[1]
  if with_label:
   item['__label'] = table_['label']
  items.append(item)
 return items

def details_multiple ( output_lines , with_label = False ) : items = [ ] tables_ = tables ( output_lines ) for table_ in tables_ : if ( ( 'Property' not in table_ [ 'headers' ] ) or ( 'Value' not in table_ [ 'headers' ] ) ) : raise exceptions . InvalidStructure ( ) item = { } for value in table_ [ 'values' ] : item [ value [ 0 ] ] = value [ 1 ] if with_label : item [ '__label' ] = table_ [ 'label' ] items . append ( item ) return items
return list of dicts with item details from cli output tables .