Hi all! Flyte rookie here, maybe you can help me out :)
I'm trying to render a NotebookTask into a Flyte Deck.
This is the task configuration inside the .py file (taken almost verbatim):
nb = 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".