toloka.client.project.template_builder.actions.SetActionV1
| Source code
SetActionV1( self, data: Optional[BaseComponent] = None, payload: Optional[Any] = None, *, version: Optional[str] = '1.0.0')
Sets the value from payload in the data in the data property.
Parameters | Type | Description |
---|---|---|
data | Optional[BaseComponent] | Data with values that will be processed or changed. |
payload | Optional[Any] | The value to write to the data. |