class_docstr: Raised if click required an option or argument but it was not
  provided when invoking the script.
  
  .. versionadded:: 4.0
  
  :param param_type: a 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'``.
class_docstr_tok: ["Raised","if","click","required","an","option","or","argument","but","it","was","not","provided","when","invoking","the","script",".","..","versionadded",":",":","4.0",":","param","param_type",":","a","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","'","``","."]
code: def __init__(
      self,
      message: t.Optional[str] = None,
      ctx: t.Optional["Context"] = None,
      param: t.Optional["Parameter"] = None,
      param_hint: t.Optional[str] = None,
      param_type: t.Optional[str] = None,
  ) -> None:
      super().__init__(message or "", ctx, param, param_hint)
      self.param_type = param_type
  
imports: import typing
  from gettext import gettext
  from gettext import ngettext
  from ._compat import get_text_stderr
  from .utils import echo
  from .utils import format_filename
label_desc: Use image node_id 1 to create a new MissingParameter object from inherited base classes: BadParameter with example: obj = MissingParameter(message, ctx, param, param_hint, param_type)