Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
Signed-off-by: Yicheng-Lu-llll <[email protected]>
  • Loading branch information
Yicheng-Lu-llll committed Jun 22, 2023
1 parent 6040dcf commit 2239968
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions flytekit/bin/entrypoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ def _dispatch_execute(

ctx.file_access.put_data(ctx.execution_state.engine_dir, output_prefix, is_multipart=True)
logger.info(f"Engine folder written successfully to the output prefix {output_prefix}")

if not task_def.disable_deck:
_output_deck(task_def.name.split(".")[-1], ctx.user_space_params)

Expand Down
4 changes: 1 addition & 3 deletions flytekit/deck/deck.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,7 @@ def html(self) -> str:
def persist(self):
task_name = FlyteContextManager.current_context().user_space_params.task_id.name
new_user_params = FlyteContextManager.current_context().user_space_params
_output_deck(task_name , new_user_params)


_output_deck(task_name, new_user_params)


class TimeLineDeck(Deck):
Expand Down

0 comments on commit 2239968

Please sign in to comment.