Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add kwargs to public methods #57

Merged
merged 1 commit into from
Mar 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions routingpy/routers/heremaps.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,7 @@ def directions( # noqa: C901
custom_consumption_details=None,
speed_profile=None,
dry_run=None,
**kwargs
):
"""Get directions between an origin point and a destination point.

Expand Down Expand Up @@ -842,6 +843,7 @@ def isochrones( # noqa: C901
custom_consumption_details=None,
speed_profile=None,
dry_run=None,
**kwargs
):
"""Gets isochrones or equidistants for a range of time/distance values around a given set of coordinates.

Expand Down Expand Up @@ -1128,6 +1130,7 @@ def matrix( # noqa: C901
tunnel_category=None,
speed_profile=None,
dry_run=None,
**kwargs
):
"""Gets travel distance and time for a matrix of origins and destinations.

Expand Down
3 changes: 3 additions & 0 deletions routingpy/routers/mapbox_osrm.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ def directions( # noqa: C901
waypoint_names=None,
waypoint_targets=None,
dry_run=None,
**kwargs
):
"""Get directions between an origin point and a destination point.

Expand Down Expand Up @@ -350,6 +351,7 @@ def isochrones(
denoise=None,
generalize=None,
dry_run=None,
**kwargs
):
"""Gets isochrones or equidistants for a range of time values around a given set of coordinates.

Expand Down Expand Up @@ -444,6 +446,7 @@ def matrix(
annotations=None,
fallback_speed=None,
dry_run=None,
**kwargs
):
"""
Gets travel distance and time for a matrix of origins and destinations.
Expand Down
3 changes: 3 additions & 0 deletions routingpy/routers/openrouteservice.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ def directions( # noqa: C901
suppress_warnings=None,
options=None,
dry_run=None,
**kwargs
):
"""Get directions between an origin point and a destination point.

Expand Down Expand Up @@ -382,6 +383,7 @@ def isochrones(
attributes=None,
intersections=None,
dry_run=None,
**kwargs
):
"""Gets isochrones or equidistants for a range of time/distance values around a given set of coordinates.

Expand Down Expand Up @@ -490,6 +492,7 @@ def matrix(
resolve_locations=None,
units=None,
dry_run=None,
**kwargs
):
"""Gets travel distance and time for a matrix of origins and destinations.

Expand Down
3 changes: 3 additions & 0 deletions routingpy/routers/valhalla.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,7 @@ def isochrones( # noqa: C901
show_locations=None,
id=None,
dry_run=None,
**kwargs
):
"""Gets isochrones or equidistants for a range of time values around a given set of coordinates.

Expand Down Expand Up @@ -514,6 +515,7 @@ def matrix(
units=None,
id=None,
dry_run=None,
**kwargs
):
"""
Gets travel distance and time for a matrix of origins and destinations.
Expand Down Expand Up @@ -676,6 +678,7 @@ def expansion(
date_time: Optional[dict] = None,
id: Optional[str] = None,
dry_run: Optional[bool] = None,
**kwargs
) -> Expansions:
"""Gets the expansion tree for a range of time or distance values around a given coordinate.

Expand Down