nemo_gym.secret_utils

View as Markdown

Module Contents

Functions

NameDescription
recursively_hide_secretsMask every token/key leaf in place with ’****’ so a config can be printed or exported.

API

nemo_gym.secret_utils.recursively_hide_secrets(
dict_config: omegaconf.DictConfig
) -> None

Mask every token/key leaf in place with ’****’ so a config can be printed or exported.

Used by the config parser and the exporters.