openfl.interface.cli_helper.check_varenv#
- openfl.interface.cli_helper.check_varenv(env='', args=None)[source]#
Update “args” (dictionary) with <env: env_value> if env has a defined value in the host.
- Parameters:
env (str, optional) – The environment variable. Defaults to ‘’.
args (dict, optional) – The dictionary to be updated. Defaults to None.
- Returns:
The updated dictionary.
- Return type:
args (dict)