Doel
Clear the current live command-stream datasource rows.
Elements runtime reference / Live streaming
clearRowsClear the current live command-stream datasource rows.
clearRows(payload=None, **kwargs)
Clear the current live command-stream datasource rows.
clear_rowsUse these fields as the Python call arguments or keyword payload for this helper.
{}
| Field | Description |
|---|---|
payload | Accepted for compatibility; ignored by the current command payload. |
kwargs | Accepted for compatibility. |
{
"event": "command",
"op": "clear"
}
def run():
clearRows()
appendRows([{"step": 1, "status": "fresh"}])
return {"ok": True}