(self, is_new_allowed)
Set this config (and recursively its subconfigs) to allow merging
        new keys from other configs.
Set this config (and recursively its subconfigs) to allow merging
        new keys from other configs.
Set this config ( and recursively its subconfigs ) to allow merging new keys from other configs .
def set_new_allowed(self, is_new_allowed):
        """
        Set this config (and recursively its subconfigs) to allow merging
        new keys from other configs.
        """
        self.__dict__[CfgNode.NEW_ALLOWED] = is_new_allowed
        # Recursively set new_allowed state
        for v in self.__dict__.values():
            if isinstance(v, CfgNode):
                v.set_new_allowed(is_new_allowed)
        for v in self.values():
            if isinstance(v, CfgNode):
                v.set_new_allowed(is_new_allowed)
def set_new_allowed ( self , is_new_allowed ) : self . __dict__ [ CfgNode . NEW_ALLOWED ] = is_new_allowed # Recursively set new_allowed state for v in self . __dict__ . values ( ) : if isinstance ( v , CfgNode ) : v . set_new_allowed ( is_new_allowed ) for v in self . values ( ) : if isinstance ( v , CfgNode ) : v . set_new_allowed ( is_new_allowed )