(self, *tags)
return {name: self._tasks[name] for name in names}
Returns a (possibly empty) dict of functions matching all the given tags.

    Args:
      *tags: Strings specifying tags to query by.

    Returns:
      A dict of `{name: function}` containing all the functions that are tagged
      by all of the strings in `tags`.
Returns a (possibly empty) dict of functions matching all the given tags.
Returns a ( possibly empty ) dict of functions matching all the given tags .
def tagged(self, *tags):
    """Returns a (possibly empty) dict of functions matching all the given tags.

    Args:
      *tags: Strings specifying tags to query by.

    Returns:
      A dict of `{name: function}` containing all the functions that are tagged
      by all of the strings in `tags`.
    """
    if not tags:
      return {}
    tags = set(tags)
    if not tags.issubset(self._tags.keys()):
      return {}
    names = self._tags[tags.pop()].keys()
    while tags:
      names &= self._tags[tags.pop()].keys()
    return {name: self._tasks[name] for name in names}
def tagged ( self , * tags ) : if not tags : return { } tags = set ( tags ) if not tags . issubset ( self . _tags . keys ( ) ) : return { } names = self . _tags [ tags . pop ( ) ] . keys ( ) while tags : names &= self . _tags [ tags . pop ( ) ] . keys ( ) return { name : self . _tasks [ name ] for name in names }