Skip to main content
What this builds. A transformation with a mix of typed inputs and outputs, run twice. You’ll end up with. A successful run whose outputs come back as native Python values, plus a demonstration of the client-side input-key validation that fires before any request.

Expected output

IOType maps Python types to the wire vocabulary (strstring, intint32, listvec<any>, vectorshift.Filefile, …). The run result’s outputs are returned as plain dict / list / scalar values, so you don’t deal with any wire envelope.

See also

From a function

Let annotations drive the schema instead of declaring it.

Async API

arun and the other async siblings.

Reference

IOType, IOConfig, TransformationRunResult.