mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-16 00:37:10 +08:00
add required to click.option decorator (#1397)
This commit is contained in:
committed by
Matthias Kramm
parent
0709985d0c
commit
25b3a818d3
1
third_party/2and3/click/decorators.pyi
vendored
1
third_party/2and3/click/decorators.pyi
vendored
@@ -103,6 +103,7 @@ def option(
|
||||
help: str = None,
|
||||
# Parameter
|
||||
default: Any = None,
|
||||
required: bool = False,
|
||||
callback: Optional[_Callback] = ...,
|
||||
nargs: int = None,
|
||||
metavar: str = None,
|
||||
|
||||
Reference in New Issue
Block a user