NotebookRunnerCounting#
- class mobu.services.business.notebookrunnercounting.NotebookRunnerCounting(*, options, user, repo_manager, events, logger, flock)#
Bases:
NotebookRunner
A notebook runner that refreshes JupyterLab sessions (and optionally deletes the labs) after a configurable number of notebook executions.
- Parameters:
options (
NotebookRunnerCountingOptions
) – Configuration options for the business.user (
AuthenticatedUser
) – User with their authentication token to use to run the business.events (
Events
) – Event publishers.logger (
BoundLogger
) – Logger to use to report the results of business.flock (
str
|None
) – Flock that is running this business, if it is running in a flock.repo_manager (
RepoManager
)
Methods Summary
Return an iterator counts up to a fixed amount.
Methods Documentation
- execution_iterator()#
Return an iterator counts up to a fixed amount.
- Return type: