Skip to content

Commit

Permalink
fix line type defs
Browse files Browse the repository at this point in the history
  • Loading branch information
elsholz committed Dec 28, 2023
1 parent c8c88e7 commit a36788d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/code/metroplanner_api/type_definitions.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,10 @@ class Connection(BaseModel):
class Line(BaseModel):
name: str
color: Color
border_width: PositiveIntOrFloat
border_width: Optional[NonNegativeIntOrFloat] = None
border_style: str # TODO: constrain
border_color: Color
width: PositiveIntOrFloat
width: NonNegativeIntOrFloat
connections: List[Connection]


Expand Down

0 comments on commit a36788d

Please sign in to comment.