diff --git a/src/c3nav/routing/route.py b/src/c3nav/routing/route.py index 7ef2ca5f..5a70df2b 100644 --- a/src/c3nav/routing/route.py +++ b/src/c3nav/routing/route.py @@ -27,7 +27,7 @@ def describe_location(location, locations): class RouteNodeWithOptionalEdge(NamedTuple): - node: int | "RouterNode" + node: Union[int, "RouterNode"] edge: Optional["RouterEdge"]