NotebookExecutionResult#

pydantic model rubin.nublado.client.NotebookExecutionResult#

Result from the notebook execution extension endpoint.

Parameters:

data (Any)

Show JSON schema
{
   "title": "NotebookExecutionResult",
   "description": "Result from the notebook execution extension endpoint.",
   "type": "object",
   "properties": {
      "notebook": {
         "description": "Notebook that was executed, as a JSON string",
         "title": "Notebook executed",
         "type": "string"
      },
      "resources": {
         "additionalProperties": true,
         "default": {},
         "description": "Additional resources output by the notebook, as a JSON string",
         "title": "Resource output",
         "type": "object"
      },
      "error": {
         "anyOf": [
            {
               "$ref": "#/$defs/NotebookExecutionError"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "description": "Will be None if no error occurred",
         "title": "Execution error"
      }
   },
   "$defs": {
      "NotebookExecutionError": {
         "description": "An error from the notebook execution extension endpoint.",
         "properties": {
            "ename": {
               "title": "Error name",
               "type": "string"
            },
            "evalue": {
               "title": "Error value",
               "type": "string"
            },
            "err_msg": {
               "title": "Error message",
               "type": "string"
            },
            "traceback": {
               "title": "Exeception traceback",
               "type": "string"
            }
         },
         "required": [
            "ename",
            "evalue",
            "err_msg",
            "traceback"
         ],
         "title": "NotebookExecutionError",
         "type": "object"
      }
   },
   "required": [
      "notebook"
   ]
}

Fields:
field error: Annotated[NotebookExecutionError | None, Field(title='Execution error', description='Will be None if no error occurred')] = None#

Will be None if no error occurred

field notebook: Annotated[str, Field(title='Notebook executed', description='Notebook that was executed, as a JSON string')] [Required]#

Notebook that was executed, as a JSON string

field resources: Annotated[dict[str, Any], Field(title='Resource output', description='Additional resources output by the notebook, as a JSON string')] = {}#

Additional resources output by the notebook, as a JSON string