Skip to content

Commit 1120c4c

Browse files
authored
Roll back secrets change (#600)
Reverts "Invocable initialization should not remove config values that are empty strings (#593)" This reverts commit 0c19da1.
1 parent a121afc commit 1120c4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/steamship/invocable/invocable.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ def __init__(
180180
# creation. All subsequent method invocations reuse that frozen config.
181181
config = {
182182
**secret_kwargs,
183-
**{k: v for k, v in (config or {}).items()},
183+
**{k: v for k, v in (config or {}).items() if v != ""},
184184
}
185185

186186
# Finally, we set the config object to an instance of the class returned by `self.config_cls`

0 commit comments

Comments
 (0)