task_queue
decorator:
result.txt
file when the task completes.
task_queue
instead.task_queue
is async, you will need to make a separate API call to retrieve the task output.
Output
, and generates a URL that can be retrieved later:
callback_url
in your endpointOutput
and calling the /task
APIcallback_url
to your decorator, Beam will fire a webhook to your server with the task response when it completes:
Output
payloads can be retrieved by polling the task
API:
outputs
list in the response:
.put()
method.