def __init__(self, tag):
        Filter.__init__(self)
        if not isinstance(tag, int):
            raise InvalidFilterParameterError("tag must be integer, %s given" % type(tag))
        self.tag = tag

        self._repr = '<TG (tag=%s)>' % tag
        self._str = '%s:\nhas tag = %s' % (self.__class__.__name__, tag)
dataset/ETHPy150Open jookies/jasmin/jasmin/routing/Filters.py/TagFilter.__init__/original