openfl.interface.cli_helper.check_varenv

openfl.interface.cli_helper.check_varenv(env: str = '', args: dict | None = None)

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:

args (dict) – The updated dictionary.