Closed zepiaf closed 2 years ago
Tried to simplify and refactor the code
Event is now a class Period is now a class
Both are accessed as objects (ie event.date) and can be dumped as dict (event.to_dict())
@mdallaire @clauderobi and anyone else :)
Please review, so we can get the code more readable and flexible
Looks good to me!
Tried to simplify and refactor the code
Event is now a class Period is now a class
Both are accessed as objects (ie event.date) and can be dumped as dict (event.to_dict())