(self, key)
Register key (e.g. `FOO.BAR`) a deprecated option. When merging deprecated
        keys a warning is generated and the key is ignored.
Register key (e.g. `FOO.BAR`) a deprecated option. When merging deprecated
        keys a warning is generated and the key is ignored.
Register key ( e . g . FOO . BAR ) a deprecated option . When merging deprecated keys a warning is generated and the key is ignored .
def register_deprecated_key(self, key):
        """Register key (e.g. `FOO.BAR`) a deprecated option. When merging deprecated
        keys a warning is generated and the key is ignored.
        """
        _assert_with_logging(
            key not in self.__dict__[CfgNode.DEPRECATED_KEYS],
            "key {} is already registered as a deprecated key".format(key),
        )
        self.__dict__[CfgNode.DEPRECATED_KEYS].add(key)
def register_deprecated_key ( self , key ) : _assert_with_logging ( key not in self . __dict__ [ CfgNode . DEPRECATED_KEYS ] , "key {} is already registered as a deprecated key" . format ( key ) , ) self . __dict__ [ CfgNode . DEPRECATED_KEYS ] . add ( key )