Added constructor types for click.FloatRange (#3257)

This commit is contained in:
Augusto Hack
2019-09-23 20:40:54 +02:00
committed by Sebastian Rittau
parent c1ec292344
commit 829c646d69

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):