yera.runtime.models.input_data

Serialized values submitted in response to input requests.

Symbols

class ButtonsInputData — A submitted button selection.
class DatePickerInputData — A submitted calendar date.
class FormInputData — A submitted form object, before validation against its struct.
class SerializedInputData — A serialized value submitted for an input request.
class SliderInputData — A submitted numeric slider value.
class TextInputData — A submitted free-text value.
class TreeSelectorInputData — A submitted collection of tree leaf values.

ButtonsInputData

A submitted button selection.

DatePickerInputData

A submitted calendar date.

FormInputData

A submitted form object, before validation against its struct.

SerializedInputData

Inherits: BaseModel

A serialized value submitted for an input request.

Methods

deserialise — Deserialize the payload into its declared Python value type.

SerializedInputData.deserialise

deserialise() → object

Deserialize the payload into its declared Python value type.

Returns

type: object

The Python value represented by the serialized payload.

Raises

ValueError

If the payload does not represent the declared type.

SliderInputData

A submitted numeric slider value.

TextInputData

A submitted free-text value.

TreeSelectorInputData

A submitted collection of tree leaf values.