def add_subconfig(self, name, subconfig):
        if not isinstance(subconfig, Config):
            raise TypeError(
                "Subconfig has to be of Config type. "
                "Got {0} instead".format(type(subconfig))
            )

        self._subconfigs[name] = subconfig
        setattr(self, name, subconfig)
Given a value, coerce it into the target type.
dataset/ETHPy150Open oleiade/etcaetera/etcaetera/config.py/Config.add_subconfig--crossover with--dataset/ETHPy150Open goFrendiAsgard/kokoropy/kokoropy/packages/sqlalchemy/ext/mutable.py/MutableBase.coerce