Skip to content

Commit

Permalink
fixing coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
tschm committed Jul 27, 2023
1 parent 5a9438a commit 61355e4
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions cvx/simulator/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -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())

0 comments on commit 61355e4

Please sign in to comment.