Skip to content

Commit 3b5a977

Browse files
committed
Add comment that transform_recursively should no longer be needed.
1 parent 5462b1c commit 3b5a977

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

plugins/callback/yaml.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,9 @@ def represent_scalar(self, tag, value, style=None):
119119

120120

121121
def transform_recursively(value, transform):
122+
# Since 2.19.0b7, this should no longer be needed:
123+
# https://github.com/ansible/ansible/issues/85325
124+
# https://github.com/ansible/ansible/pull/85389
122125
if isinstance(value, Mapping):
123126
return {transform(k): transform(v) for k, v in value.items()}
124127
if isinstance(value, Sequence) and not isinstance(value, (str, bytes)):

0 commit comments

Comments
 (0)