diff --git a/pyrmv/methods/board_arrival.py b/pyrmv/methods/board_arrival.py index 0d49a8c..e41a0cd 100644 --- a/pyrmv/methods/board_arrival.py +++ b/pyrmv/methods/board_arrival.py @@ -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: diff --git a/pyrmv/methods/board_departure.py b/pyrmv/methods/board_departure.py index da7bb90..6bfbf6e 100644 --- a/pyrmv/methods/board_departure.py +++ b/pyrmv/methods/board_departure.py @@ -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: diff --git a/pyrmv/methods/journey_detail.py b/pyrmv/methods/journey_detail.py index fa112dd..de1d6f8 100644 --- a/pyrmv/methods/journey_detail.py +++ b/pyrmv/methods/journey_detail.py @@ -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