Added constructor types for click.FloatRange (#3257)

This commit is contained in:
Augusto Hack authored and Sebastian Rittau committed 2019-09-23 20:40:54 +02:00
1 parent c1ec292344
commit 829c646d69
1 file changed
+7 -1
+7 -1
View File
@@ -71,7 +71,13 @@ class FloatParamType(ParamType):
class FloatRange(FloatParamType):
...
def __init__(
self,
min: Optional[float] = ...,
max: Optional[float] = ...,
clamp: bool = ...,
) -> None:
...
class File(ParamType):