Skip to content
This repository was archived by the owner on Dec 9, 2024. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions plugins/flytekit-papermill/flytekitplugins/papermill/task.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,8 @@ def execute(self, **kwargs) -> Any:
output_list = []
for k, type_v in self.python_interface.outputs.items():
if k == self._IMPLICIT_OP_NOTEBOOK:
output_list.append(self.output_notebook_path)
output_list
(self.output_notebook_path)
elif k == self._IMPLICIT_RENDERED_NOTEBOOK:
output_list.append(self.rendered_output_path)
elif k in m:
Expand All @@ -260,7 +261,7 @@ def post_execute(self, user_params: ExecutionParameters, rval: Any) -> Any:
nb_deck.append(notebook_html)
# Since user_params is passed by reference, this modifies the object in the outside scope
# which then causes the deck to be rendered later during the dispatch_execute function.
user_params.decks.append(nb_deck)
user_params.default_deck.append(nb_deck)

return self._config_task_instance.post_execute(user_params, rval)

Expand Down