Skip to content

Commit

Permalink
node label can be text
Browse files Browse the repository at this point in the history
  • Loading branch information
elsholz committed Dec 28, 2023
1 parent d2d425b commit 4486211
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion api/code/metroplanner_api/type_definitions.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ class Marker(BaseModel):
class Node(BaseModel):
location: Point
marker: Marker
label: Label
## label: Label
label: Union[str, Label]


class Connection(BaseModel):
Expand Down

0 comments on commit 4486211

Please sign in to comment.