def _item_list(profile=None, **connection_args):
 kstone = auth(profile, **connection_args)
 ret = []
 for item in kstone.items.list():
  ret.append(item.__dict__)
 return ret

def _item_list ( profile = None , ** connection_args ) : kstone = auth ( profile , ** connection_args ) ret = [ ] for item in kstone . items . list ( ) : ret . append ( item . __dict__ ) return ret
template for writing list functions return a list of available items cli example: .