We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0177b03 commit 50d2a45Copy full SHA for 50d2a45
CHANGELOG.md
@@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
14
### Fixed
15
16
- Ensure font is correctly inherited in exported HTML https://github.com/Textualize/rich/issues/3104
17
+- Fixed typing for `FloatPrompt`.
18
19
## [13.6.0] - 2023-09-30
20
rich/prompt.py
@@ -307,7 +307,7 @@ class IntPrompt(PromptBase[int]):
307
validate_error_message = "[prompt.invalid]Please enter a valid integer number"
308
309
310
-class FloatPrompt(PromptBase[int]):
+class FloatPrompt(PromptBase[float]):
311
"""A prompt that returns a float.
312
313
Example:
0 commit comments