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 136fa0d commit 7bebf0aCopy full SHA for 7bebf0a
src/stacks/filters/deepformat.py
@@ -2,7 +2,7 @@ def deepformat(ctx, value, params):
2
if isinstance(value, str):
3
return value.format(**params)
4
elif isinstance(value, list):
5
- return [deepformat(item, params) for item in value]
+ return [deepformat(ctx, item, params) for item in value]
6
elif isinstance(value, dict):
7
- return {deepformat(key, params): deepformat(value, params) for key, value in value.items()}
+ return {deepformat(ctx, key, params): deepformat(ctx, value, params) for key, value in value.items()}
8
return value
0 commit comments