Skip to content

Commit 25b3a81

Browse files
akhomchenkomatthiaskramm
authored andcommitted
add required to click.option decorator (#1397)
1 parent 0709985 commit 25b3a81

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

third_party/2and3/click/decorators.pyi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ def option(
103103
help: str = None,
104104
# Parameter
105105
default: Any = None,
106+
required: bool = False,
106107
callback: Optional[_Callback] = ...,
107108
nargs: int = None,
108109
metavar: str = None,

0 commit comments

Comments
 (0)