bibliotekar.testing.list_notebooks#

bibliotekar.testing.list_notebooks(path)[source]#

Return a list of all notebooks in a shelf.

Parameters:

path (PathLike[str] | str) – Any path within the target shelf. See bibliotekar.Shelf for details.

Returns:

  • paths (list[Path]) – List of paths to all notebooks in the shelf.

  • ids (list[str]) – List of unique IDs for the notebooks. Can be used as ids when parametrizing tests with pytest.