Skip to content

Commit b5acaad

Browse files
committed
Add kwargs support to matrix params creation
Support for additional keyword arguments added to matrix params creation by updating with kwargs.
1 parent a86cee6 commit b5acaad

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

routingpy/routers/valhalla.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -643,6 +643,8 @@ def get_matrix_params(
643643
if id:
644644
params["id"] = id
645645

646+
params.update(kwargs)
647+
646648
return params
647649

648650
@staticmethod

0 commit comments

Comments
 (0)