mirror of
https://github.com/b4tman/sync_ics2gcal
synced 2026-02-06 00:04:59 +00:00
remove TypeAlias usage
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import datetime
|
||||
import logging
|
||||
from typing import Union, Dict, Callable, Optional, Mapping, TypeAlias, TypedDict
|
||||
from typing import Union, Dict, Callable, Optional, Mapping, TypedDict
|
||||
|
||||
from icalendar import Calendar, Event
|
||||
from pytz import utc
|
||||
@@ -14,7 +14,7 @@ from .gcal import (
|
||||
EventDataKey,
|
||||
)
|
||||
|
||||
DateDateTime: TypeAlias = Union[datetime.date, datetime.datetime]
|
||||
DateDateTime = Union[datetime.date, datetime.datetime]
|
||||
|
||||
|
||||
def format_datetime_utc(value: DateDateTime) -> str:
|
||||
|
||||
Reference in New Issue
Block a user