NubladoExecutionTimeoutError#
- exception rubin.nublado.client.NubladoExecutionTimeoutError(user, *, code=None, context=None, failed_at=None, started_at=None)#
Bases:
NubladoErrorCode execution in JupyterLab timed out.
- Parameters:
user (
str) – User mobu was operating as when the exception happened.code (
Optional[str], default:None) – Python code that failed execution.context (
Optional[CodeContext], default:None) – The code context for this operation, if any.failed_at (
Optional[datetime], default:None) – When the operation failed. Omit to use the current time.started_at (
Optional[datetime], default:None) – When the operation that failed began.
- context#
The code context for this operation, if any.
- code#
Python code that failed execution.
- failed_at#
When the operation failed.
- started_at#
When the operation that ended in an exception started.
- user#
User Nublado client was acting on behalf of.
- to_sentry()#
Return an object with tags and contexts to add to Sentry events.
- Returns:
Annotated Sentry object.
- Return type:
- to_slack()#
Format the error as a Slack Block Kit message.
- Returns:
Formatted Slack message.
- Return type: