def create(
      cls, parameter: inspect.Parameter, docstring: docstring_parser.Docstring
  ):
    """Create a Parameter from a method docstring and inspect.Parameter."""
    description = next(
        (
            p.description
            for p in docstring.params
            if p.arg_name == parameter.name
        ),
        None,
    )
    return cls(parameter.name, parameter.annotation, description)
Create a Parameter from a method docstring and inspect.Parameter.
examples/deprecated/phone/components/apps.py