NotebookExecutionResult#
- pydantic model rubin.nublado.client.NotebookExecutionResult#
The result of the /user/:username/rubin/execution endpoint.
- Parameters:
data (
Any)
Show JSON schema
{ "title": "NotebookExecutionResult", "description": "The result of the /user/:username/rubin/execution endpoint.", "type": "object", "properties": { "notebook": { "description": "The notebook that was executed, as a JSON string.", "title": "Notebook", "type": "string" }, "resources": { "additionalProperties": true, "description": "The resources used to execute the notebook, as a JSON string.", "title": "Resources", "type": "object" }, "error": { "anyOf": [ { "$ref": "#/$defs/NotebookExecutionErrorModel" }, { "type": "null" } ], "default": null, "description": "The error that occurred during execution." } }, "$defs": { "NotebookExecutionErrorModel": { "description": "The error from the ``/user/:username/rubin/execution`` endpoint.", "properties": { "traceback": { "description": "The exeception traceback.", "title": "Traceback", "type": "string" }, "ename": { "description": "The exception name.", "title": "Ename", "type": "string" }, "evalue": { "description": "The exception value.", "title": "Evalue", "type": "string" }, "err_msg": { "description": "The exception message.", "title": "Err Msg", "type": "string" } }, "required": [ "traceback", "ename", "evalue", "err_msg" ], "title": "NotebookExecutionErrorModel", "type": "object" } }, "required": [ "notebook", "resources" ] }
- Fields:
- field error: Annotated[NotebookExecutionErrorModel | None, Field(description='The error that occurred during execution.')] = None#
The error that occurred during execution.
- field notebook: Annotated[str, Field(description='The notebook that was executed, as a JSON string.')] [Required]#
The notebook that was executed, as a JSON string.
- field resources: Annotated[dict[str, Any], Field(description='The resources used to execute the notebook, as a JSON string.')] [Required]#
The resources used to execute the notebook, as a JSON string.