We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b73b78f commit 4fb3a19Copy full SHA for 4fb3a19
anomstack/config.py
@@ -50,9 +50,8 @@ def process_yaml_file(yaml_file: str):
50
param_key = env_var.replace("ANOMSTACK_", "").lower()
51
# Check if the parameter exists in either YAML file
52
yaml_value = metric_specs.get(param_key) or defaults.get(param_key)
53
- # Only override if the parameter is not in either YAML file
54
- if yaml_value is None:
55
- merged_specs[param_key] = os.getenv(env_var)
+ # Always override with the environment variable value
+ merged_specs[param_key] = os.getenv(env_var)
56
57
# Apply metric batch-specific environment variable overrides
58
# Pattern: ANOMSTACK__<METRIC_BATCH>__<PARAM>
0 commit comments