DreamLake

Happy Paths — Python SDK

Five paths covering the SDK surface end to end, from the leaf-node "does the decorator work" through "your local code runs on a remote worker that reads storage it holds no credentials for."

Walk top-down. Some paths depend on CLI or Operator paths being green first — noted on each page.

The list

#PathVerifies
01Hello, local PythonSDK install + @udf decorator (no network)
05Hello, queue-bound UDFSubmit → claim → execute → result round-trip
06Fan out and collectParallelism + ordered collection by invocation id
10Code mountLocal git tree → S3 → worker import
11Storage access from a UDFReading and writing a named storage entry with no static credentials

Cross-surface prereqs

For pathYou also need green
05, 06 (remote plane), 10, 1103 · Hello, local stack (Operator)
10, 1109 · Storage round-trip (CLI)

The cascade

01 is the leaf — no infrastructure, no network. Pass that first, then 05 gets the submit-and-wait round-trip working (on the local SQLite plane it needs no server either). 06 proves parallelism and wants two workers. 10 adds the code-archive path; 11 adds the object-storage path. Both of those need a control plane. Once all five are green, the SDK is solid.

For a faster smoke test with no infrastructure at all, run the SDK repo's examples/00_hello_udf.py through examples/06_dynamic_graph.py — they all use Dispatch(":memory:").

→ Switch surface: CLI · Operator