Lines Matching defs:typing
33 import typing
35 if typing.TYPE_CHECKING:
58 CalendarRowType = typing.Tuple[typing.Optional[str], str, str, str, typing.Optional[str]]
68 def read_calendar() -> typing.List[CalendarRowType]:
71 return [typing.cast('CalendarRowType', tuple(r)) for r in csv.reader(f)]
169 def write_existing(writer: _csv._writer, current: typing.List[CalendarRowType]) -> typing.Iterator[CalendarRowType]:
177 last_row: typing.Optional[CalendarRowType] = None
192 row = typing.cast('CalendarRowType', tuple(r))