mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-08 21:15:17 +08:00
Added constructor types for click.FloatRange (#3257)
This commit is contained in:
1 parent
c1ec292344
commit
829c646d69
1 file changed
+7
-1
Vendored
+7
-1
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user