exp show: quick fix for handling defaultdict in py<3.11.0

This commit is contained in:
dberenbaum
2023-06-16 22:54:40 +03:00
committed by Ruslan Kuprieiev
parent fd73b389c6
commit b8c666b1b7
+1
View File
@@ -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,