New features
-
Notebook execution jobs can now set timeouts. In requests, set a timeout in the
timeout
request field. This can be a number of seconds, or a human-readable duration string (e.g. "1h30m"). The specified timeout is also repeated in the response body. This timeout applies to the notebook execution, not any time in the queue. -
Errors that prevented a notebook from being executed are now reported in the notebook job response body in the
error
field. The field is an object with acode
field and amessage
field. Thecode
field is a string that can be used to identify the error. Currently the codes aretimeout
,jupyter_error
, andunknown
. Note that exceptions raised in the Jupyter notebook aren't considered errors, but are instead reported in theipynb_error
field.
What's Changed
- DM-46137: Support timeouts in notebook executions by @jonathansick in #99
Full Changelog: 0.12.1...0.13.0