Skip to main content

Module conversion

Module conversion 

Source

Structs§

GenericPayload
Wraps any JSON value for hooks with no typed payload.

Enums§

PayloadKind
Which payload type a hook name maps to.

Functions§

deserialize_payload
Rebuild a typed payload from JSON, per the hook’s payload kind.
is_credential_hook
Whether a hook carries raw credentials.
payload_kind_for_hook
Resolve a hook name to its payload kind.
response_to_result
Convert a worker response into the erased result the executor consumes.
serialize_payload
Serialize an erased payload to the JSON shape the worker reconstructs.
worker_hook_name
The hook name the Python worker knows hook_name by.