Skip to content

Commit

Permalink
exp show: quick fix for handling defaultdict in py<3.11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dberenbaum authored and efiop committed Jun 16, 2023
1 parent fd73b38 commit b8c666b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dvc/repo/experiments/serialize.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ def from_repo(
# supported in dataclasses.asdict() on all python releases
# see https://bugs.python.org/issue35540
params = dict(_gather_params(repo, deps=param_deps, onerror=onerror))
params = {k: dict(v) for k, v in params.items()}
metrics = dict(
_gather_metrics(
repo,
Expand Down

0 comments on commit b8c666b

Please sign in to comment.