InputValue
This enum represents a value that can be either a Python object or a static JSON value. It serves as a container for handling input data from different sources within a unified interface.
Attributes
| Attribute | Type | Description |
|---|---|---|
| Python | Py< PyAny > | Stores a reference to a Python object for use within the input value context. |
| Json | JsonValue< 'static > | Stores a static JSON value representing the input data. |
Constructor
Signature
def Python(
value: Py< PyAny >
) - > [InputValue](inputvalue.md?sid=errors_line_error_inputvalue)
Parameters
| Name | Type | Description |
|---|---|---|
| value | Py< PyAny > | The Python object to be stored and processed as input. |
Signature
def Json(
value: JsonValue< 'static >
) - > [InputValue](inputvalue.md?sid=errors_line_error_inputvalue)
Parameters
| Name | Type | Description |
|---|---|---|
| value | JsonValue< 'static > | The JSON data structure to be stored and processed as input. |