doglessdata/doglessdata.py
def _get_tags(self, tags=None, metric_name=None):
        """
        Extend tags to cover new insights given by the names
        """
        tags = tags or []
        tags += self._default_tags
        if metric_name:
            name_tags = [".".join(metric_name.split(".")[:i+1])
                         for i in range(len(metric_name.split(".")))]
            tags += name_tags
        return list(set(tags))

        Extend tags to cover new insights given by the names
        
Extend tags to cover new insights given by the names
Extend tags to cover new insights given by the names
def _get_tags(self, tags=None, metric_name=None):
        tags = tags or []
        tags += self._default_tags
        if metric_name:
            name_tags = [".".join(metric_name.split(".")[:i+1])
                         for i in range(len(metric_name.split(".")))]
            tags += name_tags
        return list(set(tags))
def _get_tags ( self , tags = None , metric_name = None ) : tags = tags or [ ] tags += self . _default_tags if metric_name : name_tags = [ "." . join ( metric_name . split ( "." ) [ : i + 1 ] ) for i in range ( len ( metric_name . split ( "." ) ) ) ] tags += name_tags return list ( set ( tags ) )
Extend tags to cover new insights given by the names
Extend tags to cover new insights given by the names
"""
        Extend tags to cover new insights given by the names
        """
self
tags
metric_name