tall-ram-83532
08/28/2023, 12:37 PMnb = NotebookTask(
    name="simple-nb",
    notebook_path=os.path.join(NOTEBOOK_PATH, "text.ipynb"),
    render_deck=True,
    inputs=kwtypes(s=str),
    outputs=kwtypes(text=str)
)
However, there is no "Flyte Deck" button on the output view, even though the task completes successfully. Flyte Deck does show up for simpler tasks such as these:
@task(disable_deck=False)
def t1() -> str:
    md_text = "#Hello Flyte\n##Hello Flyte\n###Hello Flyte"
    flytekit.Deck("demo", BoxRenderer("sepal_length").to_html(iris_df))
    flytekit.current_context().default_deck.append(MarkdownRenderer().to_html(md_text))
    return md_text
For context, this is running locally on the sandbox "cluster".thankful-tailor-28399
08/28/2023, 12:41 PMfrom flytekit.types.file import HTMLPage, PythonNotebook
nb = NotebookTask(
    name=notebook_name,
    notebook_path=notebook_path,
    render_deck=True,
    disable_deck=False,
    outputs=kwtypes(out_nb=PythonNotebook, out_rendered_nb=HTMLPage),
)
Something like this worked for me. Remember having this issue. Maybe youโre missing the disable_deck=False ?tall-ram-83532
08/28/2023, 12:47 PMtall-ram-83532
08/28/2023, 12:51 PMnb = NotebookTask(
    name="simple-nb",
    notebook_path=os.path.join(NOTEBOOK_PATH, "text.ipynb"),
    render_deck=True,
    disable_deck=False,
    inputs=kwtypes(s=str),
    outputs=kwtypes(text=str, out_rendered_nb=HTMLPage)
)
Thanks again @thankful-tailor-28399!thankful-tailor-28399
08/28/2023, 12:52 PMfreezing-airport-6809
thankful-tailor-28399
08/28/2023, 3:47 PMtall-ram-83532
08/29/2023, 6:34 AMfreezing-airport-6809
tall-lock-23197