mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
exp show: quick fix for handling defaultdict in py<3.11.0
This commit is contained in:
committed by
Ruslan Kuprieiev
parent
fd73b389c6
commit
b8c666b1b7
@@ -60,6 +60,7 @@ class SerializableExp:
|
||||
# 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,
|
||||
|
||||
Reference in New Issue
Block a user