Skip to content

Commit b8c666b

Browse files
dberenbaumefiop
dberenbaum
authored andcommitted
exp show: quick fix for handling defaultdict in py<3.11.0
1 parent fd73b38 commit b8c666b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

dvc/repo/experiments/serialize.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ def from_repo(
6060
# supported in dataclasses.asdict() on all python releases
6161
# see https://bugs.python.org/issue35540
6262
params = dict(_gather_params(repo, deps=param_deps, onerror=onerror))
63+
params = {k: dict(v) for k, v in params.items()}
6364
metrics = dict(
6465
_gather_metrics(
6566
repo,

0 commit comments

Comments
 (0)