Files
hatchet/examples
Matt Kaye 2cfb345dcf Feat: Handle unicode error, fix OTel error capturing (#1959)
* feat: raise illegal task output error out of the runner if we get a null unicode escape sequence

* feat: add helper for sanitizing outputs

* feat: improve error

* fix: lock index

* feat: use async stream method in example

* chore: ver

* chore: changelog

* fix: turns out we don't need to lock

* fix: return exception for instrumentation

* chore: changelog

* chore: bunch of generated crap

* fix: comment placement

* fix: copilot

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-09 14:18:41 -04:00
..
2025-04-30 14:10:09 -07:00

Hatchet Examples

Contributing

These examples are generated from SDK source where they include, to contribute updates to these docs please make these changes in the sdk source:

  • Typescript: ../sdks/typescript/src/v1/examples
  • Python: ../sdks/python/examples
  • Go: ../pkg/examples

Comment Markup

We use a special comment markup to generate code snips for our docs. Markups support single line comments in typescript/go // or python #.

Blocks
// > Block Title
BLOCK CONTENT
// !!
Highlights
HH-name 1 hello
hello world

Where 1 is the number of lines to highlight and hello are strings to specifically highlight.