Skip to content

Commit

Permalink
data type fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sbilge committed Nov 28, 2024
1 parent 8445c39 commit 8e33d0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/metldata/builtin_transformations/common/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def data_to_dict(data: DataPack) -> dict[str, Any]:
return json.loads(dumps_datapack(deepcopy(data), yaml_format=False))


def _thaw_content(frozen_dict: Mapping) -> dict:
def _thaw_content(frozen_dict: Mapping | tuple) -> dict | list:
"""Recursively converts a nested FrozenDict and frozenset to mutable types.
This will be removed after we implement a FrozenDict validation to Schemapack lib.
"""
Expand Down

0 comments on commit 8e33d0a

Please sign in to comment.