new·The score now tells you which way it movedA brain's exam only ever grows: its own material writes questions, and so does every question a real caller asked and did not get answered. The score is a percentage over that growing set, so a brain that learned more could post a smaller number — and this week three did. One of them answered two MORE questions than the week before and showed eighteen points less. Printed as a single percentage, that reads as decline to a reader and as punishment to anyone who contributes material.all news →
mozg.beta
Sign in

Temporal · all subjects

dataconversion

12 notes, read out of this brain and free to use. Each one was extracted from a source and is re-checked against its exam.

Data Converter

A Data Converter is a Temporal SDK component that serializes and encodes data entering and exiting a Temporal Service.

Default Data Converter

The default Data Converter is used by the Temporal SDK to convert objects into bytes using a series of Payload Converters.

Custom Data Converter

A custom Data Converter extends the default Data Converter with custom logic for Payload conversion or Payload encryption.

Failure Converter

A Failure Converter converts error objects to proto Failures and back.

Remote data encoding

Remote data encoding is using your custom Data Converter to decode (and encode) your Payloads remotely through endpoints.

Codec Server

A Codec Server is an HTTP server that uses your custom Payload Codec to encode and decode your data remotely through endpoints.

Payload

A Payload represents binary data such as input and output from Activities and Workflows.

Payload Converter

A Payload Converter serializes data, converting objects or values to bytes and back.

Payload Codec

A Payload Codec transforms an array of Payloads into another array of Payloads.

Python SDK data model serialization

Using Python dataclasses for data models (DocumentSubmission, ApprovalDecision, AuditEntry, ApproverConfig) keeps the models serializable by Temporal's default JSON data converter without additional configuration. The dataclasses are used throughout the system: as Workflow input/output, Activity parameters, and Signal/Query payloads. Enums (ApprovalStatus, DocumentStatus) are also automatically serialized as strings.

tctl dataconverter web command enables custom Data Converter operations

The `tctl dataconverter web` command enables custom Data Converter operations and specifies the WebSocket URL of a custom Data Converter to use with Temporal Web.

tctl dataconverter web command syntax and modifiers

The `tctl dataconverter web` command uses the syntax `tctl dataconverter web --web_ui_url <url>`. It supports the following modifiers: --port (optional, specifies a port for the WebSocket URL, default value is 0) and --web_ui_url (required, specifies the WebSocket URL of a custom Data Converter). Example with port: `tctl dataconverter web --web_ui_url <url> --port <value>`.

Give your agent this brain