Skip to content

Commit

Permalink
fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
elsholz committed Jan 15, 2024
1 parent 4cf6cde commit b271431
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions api/code/metroplanner_api/type_definitions.py
Original file line number Diff line number Diff line change
Expand Up @@ -346,9 +346,9 @@ class PlanPrivateGetResponse(PlanProfile, PlanStats, PlanTimestamps):
class ShortlinkWithStats(BaseModel):
class Stats(BaseModel):
total_count: NonNegativeInt
per_hour: Dict[int, NonNegativeInt]
per_day: Dict[int, NonNegativeInt]
per_month: Dict[int, NonNegativeInt]
per_hour: List[Tuple[int, NonNegativeInt]]
per_day: List[Tuple[int, NonNegativeInt]]
per_month: List[Tuple[int, NonNegativeInt]]

shortlink: str
stats: Stats
Expand Down

0 comments on commit b271431

Please sign in to comment.