Commit 2afa155
authored
fix(memory): pass through unknown config keys in _wrap_configuration (aws#322)
_wrap_configuration only copies extraction, consolidation, and reflection
keys into the wrapped config dict. Any other top-level keys like
selfManagedConfiguration are silently dropped, making it impossible to
modify SELF_MANAGED strategies through modify_strategy or
update_memory_strategies.
Add a pass-through loop at the end of _wrap_configuration that copies
any config keys not already handled by the wrapping logic. This allows
selfManagedConfiguration (and any future unknown config keys) to reach
the API intact.
Relates to aws#2121 parent 32aa019 commit 2afa155
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2012 | 2012 | | |
2013 | 2013 | | |
2014 | 2014 | | |
| 2015 | + | |
| 2016 | + | |
| 2017 | + | |
| 2018 | + | |
| 2019 | + | |
2015 | 2020 | | |
0 commit comments