Skip to content

Commit

Permalink
fix typing
Browse files Browse the repository at this point in the history
  • Loading branch information
willmcgugan committed Mar 9, 2024
1 parent ec552f0 commit 05ec4ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/textual/widgets/_progress_bar.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class Bar(Widget, can_focus=False):
}
"""

percentage: reactive[float | None] = reactive[float | None](None)
percentage: reactive[float | None] = reactive[Optional[float]](None)
"""The percentage of progress that has been completed."""
_start_time: float | None
"""The time when the widget started tracking progress."""
Expand Down

0 comments on commit 05ec4ab

Please sign in to comment.