Skip to content

Commit

Permalink
DOC: NAV-145 - Update docstring of methods to specify connections can…
Browse files Browse the repository at this point in the history
… also be between locations not only stops.
  • Loading branch information
clukas1 committed Aug 20, 2024
1 parent ce34d4c commit b62ded5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions public_transit_client/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def get_connections(
max_travel_time: int | None = None,
min_transfer_time: int | None = None,
) -> list[Connection]:
"""Retrieve a list of possible connections between two stops.
"""Retrieve a list of possible connections between two stops and or locations.
Args:
start (Stop | Coordinate | str | tuple[float, float]): The starting Stop object, Coordinate object, Stop ID or
Expand Down Expand Up @@ -187,7 +187,7 @@ def get_isolines(
min_transfer_time: int | None = None,
return_connections: bool = False,
) -> list[StopConnection]:
"""Retrieve isolines (areas reachable within a certain time) from a specific stop.
"""Retrieve isolines (areas reachable within a certain time) from a specific stop / location.
Args:
start (Stop | Coordinate | str | tuple[float, float]): The starting Stop object, Coordinate object, Stop ID or
Expand Down

0 comments on commit b62ded5

Please sign in to comment.