Skip to content

Commit 8799aea

Browse files
authored
fix: correct type hint for Matrix.durations (#132)
2 parents 72a5e13 + d8c9bf6 commit 8799aea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routingpy/matrix.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def __init__(self, durations=None, distances=None, raw=None):
3131
self._raw = raw
3232

3333
@property
34-
def durations(self) -> Optional[List[List[float]]]:
34+
def durations(self) -> Optional[List[List[Optional[float]]]]:
3535
"""
3636
The durations matrix as list akin to::
3737

0 commit comments

Comments
 (0)