def __init__(self, name, filters=None, is_root=False):
super().__init__()<EOL>self.name = name<EOL>self.is_root = is_root<EOL>self.filters = filters or []<EOL>if not self.filters and self.name:<EOL><INDENT>self.filters = [Filter(name=self.name)]<EOL><DEDENT>for filter_ in self.filters:<EOL><INDENT>filter_.set_parent(self)<EOL><DEDENT>
Save attributes and set ``self`` as parent for the given filters.

        See the definition of the attributes on the class for more information about
        the arguments.

        Arguments
        ---------
        name : string
        filters : list or None
        is_root : boolean, optional, default to ``False``