class Parameter[A]
A procedure parameter whose value is an A.
Attributes#
| Attribute | Type | Description |
|---|---|---|
name | str | |
type | DataType | |
options | ParameterOptions = field(default_factory=ParameterOptions) |
Functions#
__init__#
__init__(name, type, options=ParameterOptions()) -> None| Parameter | Type | Description |
|---|---|---|
name | str | |
type | DataType | |
options | ParameterOptions = ParameterOptions() |
__call__#
__call__(value) -> Bound[A]This parameter bound to value.
| Parameter | Type | Description |
|---|---|---|
value | A |
Returns Bound[A]
def __call__(self, value: A) -> Bound[A]:
"""This parameter bound to ``value``."""
return Bound(self, value)