Skip to content

Commit

Permalink
fix: Add function call that was removed accidentally (Azure#31630)
Browse files Browse the repository at this point in the history
  • Loading branch information
kdestin authored Aug 14, 2023
1 parent 2818d8e commit ca1f5c0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sdk/ml/azure-ai-ml/azure/ai/ml/_utils/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,8 @@ def transform_dict_keys(data: Dict[str, Any], casing_transform: Callable[[str],
:rtype: dict
"""
return {
key: transform_dict_keys(val, casing_transform) if isinstance(val, dict) else val for key, val in data.items()
casing_transform(key): transform_dict_keys(val, casing_transform) if isinstance(val, dict) else val
for key, val in data.items()
}


Expand Down

0 comments on commit ca1f5c0

Please sign in to comment.