Skip to content

Commit

Permalink
Roll back secrets change (#600)
Browse files Browse the repository at this point in the history
Reverts "Invocable initialization should not remove config values that
are empty strings (#593)"

This reverts commit 0c19da1.
  • Loading branch information
GitOnUp authored Jan 24, 2024
1 parent a121afc commit 1120c4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/steamship/invocable/invocable.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ def __init__(
# creation. All subsequent method invocations reuse that frozen config.
config = {
**secret_kwargs,
**{k: v for k, v in (config or {}).items()},
**{k: v for k, v in (config or {}).items() if v != ""},
}

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

0 comments on commit 1120c4c

Please sign in to comment.