ray.runtime_env.RuntimeEnv.setdefault#
- RuntimeEnv.setdefault(key, default=None, /)#
Insert key with a value of default if key is not in the dictionary.
Return the value for key if key is in the dictionary, else default.
Site Navigation
Insert key with a value of default if key is not in the dictionary.
Return the value for key if key is in the dictionary, else default.