def __repr__(self):
parent_repr = super().__repr__()<EOL>if self.resources:<EOL><INDENT>return (<EOL>'<STR_LIT>'<EOL>'<STR_LIT>'<EOL>'<STR_LIT>'<EOL>) % {<EOL>'<STR_LIT:start>': parent_repr[:-<NUM_LIT:3>] + '<STR_LIT:>>',<EOL>'<STR_LIT>': '<STR_LIT:\n>'.join(map(str, self.resources)),<EOL>'<STR_LIT>': self.__class__.__name__,<EOL>'<STR_LIT:name>': ('<STR_LIT>' % self.name) if self.name else '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT:U+0020>' * self.get_level(),<EOL>}<EOL><DEDENT>else:<EOL><INDENT>return parent_repr<EOL><DEDENT>
String representation of a ``MultiResources`` instance.

        Returns
        -------
        str
            The string representation of the current ``MultiResources`` instance.

        Notes
        -----
        It simply transform the representation of the base resource to insert sub-resources in it,
        to have nested resources. Each subresource is indented depending of its level.

        Example
        -------

        >>> MultiResources('foo', resources=[
        ...     Field('bar'),
        ...     MultiResources('baz', resources=[
        ...         Field('qux')
        ...     ])
        ... ])
        <MultiResources[foo]>
          <Field[bar] />
          <MultiResources[baz]>
            <Field[qux] />
          </MultiResources[baz]>
        </MultiResources[foo]>