From a4a7f02d0b0f7b5af41e3bb05a77fefed0afdb79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laura=20Kl=C3=BCnder?= Date: Wed, 18 Dec 2024 21:48:17 +0100 Subject: [PATCH] fix syntax error --- src/c3nav/routing/route.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"]