Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
Signed-off-by: Mecoli1219 <[email protected]>
  • Loading branch information
Mecoli1219 committed Aug 14, 2024
1 parent 615812a commit 80b6c8d
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions flytekit/core/future.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,7 @@ def __init__(
if options is None:
options = REMOTE_DEFAULT_OPTIONS

self._exe = self._remote_entry.execute(
entity, version=version, inputs=kwargs, options=options
)
self._exe = self._remote_entry.execute(entity, version=version, inputs=kwargs, options=options)
self._is_task = isinstance(entity, PythonTask)
console_url = self._remote_entry.generate_console_url(self._exe)
s = (
Expand Down Expand Up @@ -122,8 +120,8 @@ def get_deck(
uri = node_execution._closure.deck_uri
if uri:
break
if uri == '':
if uri == "":
raise ValueError("Deck not found for task execution")

deck_uri = self._remote_entry.client.get_download_signed_url(uri)
return IFrame(src=deck_uri.signed_url, width=800, height=600)

0 comments on commit 80b6c8d

Please sign in to comment.