Qucs-S S-parameter Viewer & RF Synthesis Tools
Loading...
Searching...
No Matches
Static Public Attributes | List of all members
click.core.ParameterSource Class Reference
Inheritance diagram for click.core.ParameterSource:
Inheritance graph
[legend]
Collaboration diagram for click.core.ParameterSource:
Collaboration graph
[legend]

Static Public Attributes

 COMMANDLINE = enum.auto()
 
 ENVIRONMENT = enum.auto()
 
 DEFAULT = enum.auto()
 
 DEFAULT_MAP = enum.auto()
 
 PROMPT = enum.auto()
 

Detailed Description

This is an :class:`~enum.Enum` that indicates the source of a
parameter's value.

Use :meth:`click.Context.get_parameter_source` to get the
source for a parameter by name.

.. versionchanged:: 8.0
    Use :class:`~enum.Enum` and drop the ``validate`` method.

.. versionchanged:: 8.0
    Added the ``PROMPT`` value.

The documentation for this class was generated from the following file: