better type annotation

This commit is contained in:
fredrikr79 2023-08-18 14:27:23 +02:00
parent 3b8e971e00
commit d4d4f0d7c7
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ def process_soup(soup: BeautifulSoup) -> List[Event]:
return events
def get_events_today(events: List[Event]):
def get_events_today(events: List[Event]) -> List[Event]:
return list(filter(lambda e: e.start.date() == datetime.datetime.today().date(), events))