Set the source of a parameter. This indicates the location from which the value of the parameter was obtained. :param name: The name of the parameter. :param source: A member of :class:`~click.core.ParameterSource`.
(self, name: str, source: ParameterSource)
| 926 | return self.invoke(cmd, *args, **kwargs) |
| 927 | |
| 928 | def set_parameter_source(self, name: str, source: ParameterSource) -> None: |
| 929 | """Set the source of a parameter. This indicates the location |
| 930 | from which the value of the parameter was obtained. |
| 931 | |
| 932 | :param name: The name of the parameter. |
| 933 | :param source: A member of :class:`~click.core.ParameterSource`. |
| 934 | """ |
| 935 | self._parameter_source[name] = source |
| 936 | |
| 937 | def get_parameter_source(self, name: str) -> ParameterSource | None: |
| 938 | """Get the source of a parameter. This indicates the location |