morpheus.utils.env_config_value.EnvConfigValue

(Latest Version)
class EnvConfigValue(value=None, use_env=True)[source]

Bases: abc.ABC

A wrapper for a string used as a configuration value which can be loaded from the system environment or injected via the constructor. This class should be subclassed and the class fields _ENV_KEY and _ENV_KEY_OVERRIDE can be set to enable environment-loading functionality. Convienience properties are available to check from where the value was loaded.

Attributes
source

use_env

value

Previous morpheus.utils.env_config_value
Next morpheus.utils.env_config_value.EnvConfigValueSource
© Copyright 2024, NVIDIA. Last updated on Jul 8, 2024.