Skip to content
This repository was archived by the owner on Dec 9, 2024. It is now read-only.

Commit 7815b53

Browse files
author
Calvin Leather
committed
added documentation about render_deck
1 parent 918ad7d commit 7815b53

File tree

1 file changed

+2
-1
lines changed
  • plugins/flytekit-papermill/flytekitplugins/papermill

1 file changed

+2
-1
lines changed

plugins/flytekit-papermill/flytekitplugins/papermill/task.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ class NotebookTask(PythonInstanceTask[T]):
6464
name="modulename.my_notebook_task", # the name should be unique within all your tasks, usually it is a good
6565
# idea to use the modulename
6666
notebook_path="../path/to/my_notebook",
67+
render_deck=True,
6768
inputs=kwtypes(v=int),
6869
outputs=kwtypes(x=int, y=str),
6970
metadata=TaskMetadata(retries=3, cache=True, cache_version="1.0"),
@@ -77,7 +78,7 @@ class NotebookTask(PythonInstanceTask[T]):
7778
7879
#. It captures the executed notebook in its entirety and is available from Flyte with the name ``out_nb``.
7980
#. It also converts the captured notebook into an ``html`` page, which the FlyteConsole will render called -
80-
``out_rendered_nb``
81+
``out_rendered_nb``. If ``render_deck=True`` is passed, this html content will be inserted into a deck.
8182
8283
.. note:
8384

0 commit comments

Comments
 (0)