Refactor endpoint /program/year/month/day
Compare changes
- Chris Pastl authored
+ 11
− 0
@@ -143,6 +143,17 @@ def gap_entry(*, gap_start: datetime, gap_end: datetime) -> dict:
Refactored remaining endpoint /program/<int:year>/<int:month>/<int:day>/
to use mixin class instead of plain function and added annotations.
Date handling tested using debug print statements - so needs further testing.