Closed BSchilperoort closed 1 year ago
This PR tries to tackle the comments @Peter9192 had on the reprs and serializability of the calendars.
List of changes:
Interval
CustomCalendar
eval
New repr example:
>>> calendar Calendar( anchor='12-31', allow_overlap=False, mapping=('years', 2000, 2020), intervals=[ Interval(role='target', length='20d', gap='0d'), Interval(role='target', length='20d', gap='10d'), Interval(role='precursor', length='10d', gap='-5d'), Interval(role='precursor', length='2W', gap='0d'), Interval(role='precursor', length='1M', gap='0d') ] )
Check out this pull request on
See visual diffs & provide feedback on Jupyter Notebooks.
Powered by ReviewNB
Kudos, SonarCloud Quality Gate passed!
0 Bugs 0 Vulnerabilities 0 Security Hotspots 0 Code Smells
88.2% Coverage 0.0% Duplication
This PR tries to tackle the comments @Peter9192 had on the reprs and serializability of the calendars.
List of changes:
Interval
classInterval
,CustomCalendar
and all the other calendarseval
-ableNew repr example: