current_function_call_id

function

gworker_client.io.current_function_call_id

Return the stable ID for the current function call. The same ID is used across all retries and batched inputs that originated from the same task.run() or task.spawn() call. Returns None outside of a remote invocation.

Signature

python
1current_function_call_id() -> str | None

← Back to docs