fully typed project

This commit is contained in:
2026-01-23 15:08:27 +01:00
parent 00ab59f0e4
commit c17af00c10
7 changed files with 26 additions and 24 deletions

View File

@@ -2,7 +2,7 @@ from ics import Calendar
import requests
import logger
def grab_calendar(ics_url: str):
def grab_calendar(ics_url: str) -> Calendar | None:
response = requests.get(ics_url)
if response.status_code != 200: