def add_container(self, varpath='', skip=None):

        if not skip:
            skip = []
        for name in sorted(self.comp._init_params_dict):
            if name.startswith(varpath+':'):
                sub_name = name[len(varpath+':'):]
                if sub_name not in skip:
                    self.add_var(name)
Add every variable from a given variable tree path to the
dataset/ETHPy150Open OpenMDAO/OpenMDAO/openmdao/util/namelist_util.py/Namelist.add_container