Skip to content

client responses

Formatters for responses to the upload client.

cbucket_err_response

cbucket_err_response(_ex: Exception) -> tuple[str, str]

Error message: lambda cannot access control bucket

conf_bucket_err_response

conf_bucket_err_response(_ex: Exception) -> tuple[str, str]

Error message: lambda cannot access config bucket

err_response

err_response(func: Callable) -> Callable

Convenience wrapper: format an error message as a YAML mapping.

iconfig_err_response

iconfig_err_response(_ex: Exception) -> tuple[str, str]

Error message: cannot read task configuration

lambda_main_execution_error

lambda_main_execution_error(_ex: Exception) -> tuple[str, str]

Error message: lambda crashed for unknown reason

llock_err_response

llock_err_response(_ex: Exception) -> tuple[str, str]

Error message: lambda lock already held

lock_write_err_response

lock_write_err_response() -> tuple[str, str]

Error message: unable to write lock

noconfig_err_response

noconfig_err_response() -> tuple[str, str]

Error message: no task configuration found

pipeline_exec_success_msg

pipeline_exec_success_msg() -> str

Lambda succeeded

task_run_err_response

task_run_err_response(_ex: Exception) -> tuple[str, str]

Error message: cannot launch validation task

task_setup_err_response

task_setup_err_response(_ex: Exception) -> tuple[str, str]

Error message: cannot set up validation task correctly

tlock_err_response

tlock_err_response(_ex: Exception) -> tuple[str, str]

Error message: transfer client lock not held by caller

vtask_running_err_response

vtask_running_err_response() -> tuple[str, str]

Error message: validation task already running