def __init__(self, config=None, sub_modules=None, *args, **kwargs):
super(NewSubModules, self).__init__(config=config, *args, **kwargs)<EOL>self._sub_modules = sub_modules or []<EOL>
Create a new proxy with new :attr:`sub_modules`.

        :param config: original `Configurable` object
        :type config: :class:`Configurable`
        :param sub_modules: new `sub_modules` list
        :type sub_modules: list of :class:`Configurable`