Callbacks
If the callback_url was set when making the original request, LSO will return the output of the executable to this
URL.
Code Documentation
Celery task to run an arbitrary executable and notify via callback.
Executes the executable with the provided arguments and posts back the result if a callback URL is provided.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
str
|
Identifier of the job being executed. |
required |
|
str
|
Path to the executable to be executed. |
required |
|
list[str]
|
Arguments that are passed to the executable. |
required |
|
str
|
Callback URL for status update. |
required |
Raises:
| Type | Description |
|---|---|
CallbackFailedError
|
If the callback to the external system has failed. |