def tag_autocomplete(context, data_dict):
 _check_access('tag_autocomplete', context, data_dict)
 (matching_tags, count) = _tag_search(context, data_dict)
 if matching_tags:
  return [tag.name for tag in matching_tags]
 else:
  return []

def tag_autocomplete ( context , data_dict ) : _check_access ( 'tag_autocomplete' , context , data_dict ) ( matching_tags , count ) = _tag_search ( context , data_dict ) if matching_tags : return [ tag . name for tag in matching_tags ] else : return [ ]
return a list of tag names that contain a given string .