Silenced some warnings in VSCode
This commit is contained in:
parent
9da83c878e
commit
84feae2d2f
@ -15,15 +15,15 @@ except ImportError:
|
||||
def board_arrival(
|
||||
|
||||
access_id: str,
|
||||
id: str = None,
|
||||
id_ext: str = None,
|
||||
direction: Union[str, Stop, StopTrip] = None,
|
||||
date: Union[str, datetime] = None,
|
||||
time: Union[str, datetime] = None,
|
||||
id: str = None, # type: ignore
|
||||
id_ext: str = None, # type: ignore
|
||||
direction: Union[str, Stop, StopTrip] = None, # type: ignore
|
||||
date: Union[str, datetime] = None, # type: ignore
|
||||
time: Union[str, datetime] = None, # type: ignore
|
||||
duration: Union[int, timedelta] = 60,
|
||||
journeys_max: int = -1,
|
||||
operators: Union[str, list] = None,
|
||||
lines: Union[str, list] = None,
|
||||
operators: Union[str, list] = None, # type: ignore
|
||||
lines: Union[str, list] = None, # type: ignore
|
||||
passlist: bool = False,
|
||||
board_type: Literal[BoardArrivalType.ARR, BoardArrivalType.ARR_EQUIVS, BoardArrivalType.ARR_MAST, BoardArrivalType.ARR_STATION] = BoardArrivalType.ARR,
|
||||
) -> BoardArrival:
|
||||
|
@ -15,15 +15,15 @@ except ImportError:
|
||||
def board_departure(
|
||||
|
||||
access_id: str,
|
||||
id: str = None,
|
||||
id_ext: str = None,
|
||||
direction: Union[str, Stop, StopTrip] = None,
|
||||
date: Union[str, datetime] = None,
|
||||
time: Union[str, datetime] = None,
|
||||
id: str = None, # type: ignore
|
||||
id_ext: str = None, # type: ignore
|
||||
direction: Union[str, Stop, StopTrip] = None, # type: ignore
|
||||
date: Union[str, datetime] = None, # type: ignore
|
||||
time: Union[str, datetime] = None, # type: ignore
|
||||
duration: Union[int, timedelta] = 60,
|
||||
journeys_max: int = -1,
|
||||
operators: Union[str, list] = None,
|
||||
lines: Union[str, list] = None,
|
||||
operators: Union[str, list] = None, # type: ignore
|
||||
lines: Union[str, list] = None, # type: ignore
|
||||
passlist: bool = False,
|
||||
board_type: Literal[BoardDepartureType.DEP, BoardDepartureType.DEP_EQUIVS, BoardDepartureType.DEP_MAST, BoardDepartureType.DEP_STATION] = BoardDepartureType.DEP,
|
||||
) -> BoardDeparture:
|
||||
|
@ -15,12 +15,12 @@ def journey_detail(
|
||||
|
||||
access_id: str,
|
||||
id: str,
|
||||
date: Union[str, datetime] = None,
|
||||
real_time_mode: Literal[RealTimeMode.FULL, RealTimeMode.INFOS, RealTimeMode.OFF, RealTimeMode.REALTIME, RealTimeMode.SERVER_DEFAULT] = None,
|
||||
from_id: str = None,
|
||||
from_index: int = None,
|
||||
to_id: str = None,
|
||||
to_index: int = None
|
||||
date: Union[str, datetime] = None, # type: ignore
|
||||
real_time_mode: Literal[RealTimeMode.FULL, RealTimeMode.INFOS, RealTimeMode.OFF, RealTimeMode.REALTIME, RealTimeMode.SERVER_DEFAULT] = None, # type: ignore
|
||||
from_id: str = None, # type: ignore
|
||||
from_index: int = None, # type: ignore
|
||||
to_id: str = None, # type: ignore
|
||||
to_index: int = None # type: ignore
|
||||
) -> Journey:
|
||||
"""The journey_detail method will deliver information about the complete route of a vehicle. The journey
|
||||
identifier is part of a trip or `board_departure` response. It contains a list of all stops/stations of this journey
|
||||
|
Loading…
Reference in New Issue
Block a user