Utilities¶
Utils¶
-
papermill.utils.
chdir
(path)¶ Change working directory to path and restore old path on exit.
path can be None in which case this is a no-op.
-
papermill.utils.
retry
(num)¶
Exceptions¶
-
exception
papermill.exceptions.
AwsError
¶ Raised when an AWS Exception is encountered.
-
exception
papermill.exceptions.
FileExistsError
¶ Raised when a File already exists on S3.
-
exception
papermill.exceptions.
PapermillException
¶ Raised when an exception is encountered when operating on a notebook.
-
exception
papermill.exceptions.
PapermillExecutionError
(exec_count, source, ename, evalue, traceback)¶ Raised when an exception is encountered in a notebook.
-
exception
papermill.exceptions.
PapermillMissingParameterException
¶ Raised when a parameter without a value is required to operate on a notebook.
-
exception
papermill.exceptions.
PapermillOptionalDependencyException
¶ Raised when an exception is encountered when an optional plugin is missing.
-
exception
papermill.exceptions.
PapermillRateLimitException
¶ Raised when an io request has been rate limited
-
papermill.exceptions.
missing_dependency_generator
(package, dep)¶
-
papermill.exceptions.
missing_environment_variable_generator
(package, env_key)¶
Log¶
Sets up a logger