Skip to content

Commit

Permalink
misc: Fix missing default value for replace_in_iterable
Browse files Browse the repository at this point in the history
  • Loading branch information
deajan committed Dec 11, 2023
1 parent 48cddca commit dded304
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ofunctions/misc/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def deep_dict_update(dict_original, dict_update):
return dict_update


def replace_in_iterable(src, original, replacement, callable_wants_key=False):
def replace_in_iterable(src, original, replacement=None, callable_wants_key=False):
# type: (Union[dict, list], Union[str, Callable], Any, bool) -> Union[dict, list]
"""
Recursive replace data in a struct
Expand Down

0 comments on commit dded304

Please sign in to comment.