def __get_tags(vm_):
 t = config.get_cloud_config_value('tags', vm_, __opts__, default='[]', search_global=False)
 try:
  tags = literal_eval(t)
 except Exception:
  tags = None
 if ((not tags) or (not isinstance(tags, list))):
  tags = None
 return tags

def __get_tags ( vm_ ) : t = config . get_cloud_config_value ( 'tags' , vm_ , __opts__ , default = '[]' , search_global = False ) try : tags = literal_eval ( t ) except Exception : tags = None if ( ( not tags ) or ( not isinstance ( tags , list ) ) ) : tags = None return tags
get configured tags .