diff --git a/pyrmv/methods/board_arrival.py b/pyrmv/methods/board_arrival.py index 1ad6836..d39e1a3 100644 --- a/pyrmv/methods/board_arrival.py +++ b/pyrmv/methods/board_arrival.py @@ -45,7 +45,7 @@ def board_arrival( * board_type (`Union[BoardArrivalType.ARR, BoardArrivalType.ARR_EQUIVS, BoardArrivalType.ARR_MAST, BoardArrivalType.ARR_STATION]`, optional): Set the station arrival board type to be used. Defaults to `BoardArrivalType.ARR`. ### Returns: - * BoardArrival: Instance of BoardArrival object. + * BoardArrival: Instance of `BoardArrival` object. """ if (isinstance(direction, Stop) or isinstance(direction, StopTrip)): diff --git a/pyrmv/methods/board_departure.py b/pyrmv/methods/board_departure.py index 644df00..12e9a91 100644 --- a/pyrmv/methods/board_departure.py +++ b/pyrmv/methods/board_departure.py @@ -45,7 +45,7 @@ def board_departure( * board_type (`Union[BoardDepartureType.DEP, BoardDepartureType.DEP_EQUIVS, BoardDepartureType.DEP_MAST, BoardDepartureType.DEP_STATION]`, optional): Set the station departure board type to be used. Defaults to `BoardDepartureType.DEP`. ### Returns: - * BoardDeparture: Instance of BoardDeparture object. + * BoardDeparture: Instance of `BoardDeparture` object. """ if (isinstance(direction, Stop) or isinstance(direction, StopTrip)): diff --git a/pyrmv/methods/journey_detail.py b/pyrmv/methods/journey_detail.py index 0b381c7..cc42a77 100644 --- a/pyrmv/methods/journey_detail.py +++ b/pyrmv/methods/journey_detail.py @@ -39,7 +39,7 @@ def journey_detail( * to_index (`int`, **optional**): Specifies the station/stop index the partial itinerary shall end at. Defaults to `None`. ### Returns: - * Journey: Instance of Journey object. + * Journey: Instance of `Journey` object. """ if real_time_mode == None: diff --git a/pyrmv/methods/stop_by_coords.py b/pyrmv/methods/stop_by_coords.py index cf37342..ad90535 100644 --- a/pyrmv/methods/stop_by_coords.py +++ b/pyrmv/methods/stop_by_coords.py @@ -39,7 +39,7 @@ def stop_by_coords( * selection_mode (`Literal[SelectionMode.SLCT_A, SelectionMode.SLCT_N]`, **optional**): Selection mode for locations. `SelectionMode.SLCT_N`: Not selectable, `SelectionMode.SLCT_A`: Selectable. Defaults to `None`. ### Returns: - * List[Stop]: List of Stop objects. Empty list if none found. + * List[Stop]: List of `Stop` objects. Empty list if none found. """ if selection_mode == None: diff --git a/pyrmv/methods/stop_by_id.py b/pyrmv/methods/stop_by_id.py index 334c2ce..62dcb60 100644 --- a/pyrmv/methods/stop_by_id.py +++ b/pyrmv/methods/stop_by_id.py @@ -23,7 +23,7 @@ def stop_by_id( * lang (`Literal[Language.DE, Language.DA, Language.EN, Language.ES, Language.FR, Language.HU, Language.IT, Language.NL, Language.NO, Language.PL, Language.SV, Language.TR]`, **optional**): The language of response. Defaults to `Language.EN`. ### Returns: - * Stop: Instance of Stop object or None if not found. + * Stop: Instance of `Stop` object or `None` if not found. """ stops_raw = raw_stop_by_name( diff --git a/pyrmv/methods/stop_by_name.py b/pyrmv/methods/stop_by_name.py index d74f20f..eaa4b19 100644 --- a/pyrmv/methods/stop_by_name.py +++ b/pyrmv/methods/stop_by_name.py @@ -49,7 +49,7 @@ def stop_by_name( * filter_mode (`Literal[FilterMode.DIST_PERI, FilterMode.EXCL_PERI, FilterMode.SLCT_PERI]`, **optional**): Filter modes for nearby searches. Defaults to `FilterMode.DIST_PERI`. ### Returns: - * List[Stop]: List of Stop objects. Empty list if none found. + * List[Stop]: List of `Stop` objects. Empty list if none found. """ if selection_mode == None: diff --git a/pyrmv/methods/trip_find.py b/pyrmv/methods/trip_find.py index fe596a0..e97cfa6 100644 --- a/pyrmv/methods/trip_find.py +++ b/pyrmv/methods/trip_find.py @@ -125,7 +125,7 @@ def trip_find( * frequency (`bool`, **optional**): Enables/disables the calculation of frequency information. Defaults to `True`. ### Returns: - * List[Trip]: List of Trip objects. Empty list if none found. + * List[Trip]: List of `Trip` objects. Empty list if none found. """ if real_time_mode == None: