Skip to content

Commit 9e95728

Browse files
committed
remove perf ledger legacy field
1 parent a87f12b commit 9e95728

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

vali_objects/vali_dataclasses/perf_ledger.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ def from_dict(cls, x):
150150
assert isinstance(x, dict), x
151151
x['cps'] = [PerfCheckpoint(**cp) for cp in x['cps']]
152152
x.pop('global_worst_mdd', None) # Remove legacy field if present
153+
x.pop('last_known_prices', None) # Remove legacy field if present
153154
instance = cls(**x)
154155
return instance
155156

0 commit comments

Comments
 (0)