Skip to content
Snippets Groups Projects
Commit 94b63b1b authored by Cain, Payton David's avatar Cain, Payton David
Browse files

add custom types for data interval/type

parent 60d89c27
No related branches found
No related tags found
3 merge requests!166Merge branch master into production,!158Merge branch 'master' into 'production',!121Add type hints to Timeseries Factory, add custom literal types
from typing_extensions import Literal
DataInterval = Literal["tenhertz", "second", "minute", "hour", "day", "month"]
DataType = Literal[
"adjusted", "definitive", "provisional", "quasi-definitive", "reported", "variation"
]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment