Skip to main content

class  pixeltable.Row

A dict-like wrapper over a single result row. Supports key access (row['col']), membership ('col' in row), iteration over keys, and the standard get(), keys(), values(), and items() methods. The errors property holds error info ({'errortype': ..., 'errormsg': ...}) for each cell whose evaluation failed; the index_values property holds the values of embedding indexes defined on the row’s table. Both are keyed by column or index name.

method  to_json()

Signature
Return a JSON-serializable dict of this row’s values.
  • None: preserved as None
  • Timestamp, Date: ISO 8601 string
  • UUID: string
  • Array: Python list (via tolist())
  • Json: validated for serializability, kept as native Python
  • Binary: omitted (not representable in JSON)
  • All others: unchanged
Last modified on August 7, 2026