From 61355e42afcf5ab6a4ecc5387d309c2d73de7f0b Mon Sep 17 00:00:00 2001 From: Thomas Schmelzer Date: Thu, 27 Jul 2023 16:04:59 -0700 Subject: [PATCH] fixing coverage --- cvx/simulator/types.py | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/cvx/simulator/types.py b/cvx/simulator/types.py index 3ffd427c..7f71d3c9 100644 --- a/cvx/simulator/types.py +++ b/cvx/simulator/types.py @@ -3,23 +3,3 @@ from typing import Dict TIMESERIES = Dict[datetime, float] -TIMEFRAME = Dict[str, TIMESERIES] - - -def a(xx: TIMESERIES) -> None: - print(xx) - print(type(xx)) - - -if __name__ == "__main__": - import pandas as pd - - x = pd.Series( - index=pd.date_range("2020-01-01", "2020-01-10", freq="D"), data=range(10) - ) - - a(xx=x.to_dict()) - - x = pd.Series(index=range(10), data=range(10)) - - a(xx=x.to_dict())