class documentation

class MissingParameter(BadParameter):

View In Hierarchy

Raised if click required an option or argument but it was not provided when invoking the script.

New in version 4.0.
Parameters
param​_typea string that indicates the type of the parameter. The default is to inherit the parameter type from the given param. Valid values are 'parameter', 'option' or 'argument'.
Method __init__ Undocumented
Method __str__ Undocumented
Method format​_message Undocumented
Instance Variable param​_type Undocumented

Inherited from BadParameter:

Instance Variable param Undocumented
Instance Variable param​_hint Undocumented

Inherited from UsageError (via BadParameter):

Method show Undocumented
Class Variable exit​_code Undocumented
Instance Variable cmd Undocumented
Instance Variable ctx Undocumented

Inherited from ClickException (via BadParameter, UsageError):

Instance Variable message Undocumented
def __init__(self, message=None, ctx=None, param=None, param_hint=None, param_type=None):

Undocumented

Parameters
message:t.Optional[str]Undocumented
ctx:t.Optional[Context]Undocumented
param:t.Optional[Parameter]Undocumented
param​_hint:t.Optional[str]Undocumented
param​_type:t.Optional[str]Undocumented
def __str__(self):

Undocumented

Returns
strUndocumented
def format_message(self):

Undocumented

Returns
strUndocumented
param_type =

Undocumented