fix(core): Ignore missing secrets on deserialization (#30252)

This commit is contained in:
Jacob Lee
2025-03-13 12:27:03 -07:00
committed by GitHub
parent ebea5e014d
commit e9c1765967
2 changed files with 11 additions and 2 deletions

View File

@@ -98,8 +98,7 @@ class Reviver:
else:
if self.secrets_from_env and key in os.environ and os.environ[key]:
return os.environ[key]
msg = f'Missing key "{key}" in load(secrets_map)'
raise KeyError(msg)
return None
if (
value.get("lc") == 1