(self, name, labels, scraper_config, tag_name=None)
return tags
Search for `name` in labels name and returns corresponding tags string.
        Tag name is label name if not specified.
        Returns an empty list if name was not found.
Search for `name` in labels name and returns corresponding tags string.
        Tag name is label name if not specified.
        Returns an empty list if name was not found.
Search for name in labels name and returns corresponding tags string . Tag name is label name if not specified . Returns an empty list if name was not found .
def _label_to_tags(self, name, labels, scraper_config, tag_name=None):
        """
        Search for `name` in labels name and returns corresponding tags string.
        Tag name is label name if not specified.
        Returns an empty list if name was not found.
        """
        value = labels.get(name)
        tags = []
        if value:
            tags += self._build_tags(tag_name or name, value, scraper_config)
        return tags
def _label_to_tags ( self , name , labels , scraper_config , tag_name = None ) : value = labels . get ( name ) tags = [ ] if value : tags += self . _build_tags ( tag_name or name , value , scraper_config ) return tags