Skip to content
This repository was archived by the owner on Oct 15, 2024. It is now read-only.

Commit 88d0fb6

Browse files
committed
fix optimized_route=route
1 parent 14e1a9d commit 88d0fb6

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,16 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
77

88
## Unreleased
99

10+
_Valhalla version 3.3.0_
11+
12+
## [3.1.1](https://pypi.org/project/pyvalhalla/3.1.1/) - 2023-04-16
13+
14+
_Valhalla version 3.3.0_
15+
16+
### FIXED
17+
18+
- `Actor.optimized_route` called Valhalla's `_Actor.route`
19+
1020
## [3.1.0](https://pypi.org/project/pyvalhalla/3.1.0/) - 2023-04-13
1121

1222
_Valhalla version 3.3.0_

valhalla/actor.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def route(self, req: Union[str, dict]):
8181

8282
@dict_or_str
8383
def optimized_route(self, req: Union[str, dict]):
84-
return super().route(req)
84+
return super().optimized_route(req)
8585

8686
@dict_or_str
8787
def locate(self, req: Union[str, dict]):
@@ -107,10 +107,6 @@ def trace_attributes(self, req: Union[str, dict]):
107107
def height(self, req: Union[str, dict]):
108108
return super().height(req)
109109

110-
@dict_or_str
111-
def transit_available(self, req: Union[str, dict]):
112-
return super().transit_available(req)
113-
114110
@dict_or_str
115111
def expansion(self, req: Union[str, dict]):
116112
return super().expansion(req)

0 commit comments

Comments
 (0)