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

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

        Arguments
        ---------
        name : string
        filters : list, optional
        is_root : boolean, optional, default to ``False``
        resources : list, optional, default to ``[]``