Skip to content

Commit

Permalink
Update dependency.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-janssen authored Feb 15, 2025
1 parent 81c4b73 commit af3f9c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions executorlib/interactive/dependency.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,12 @@ def info(self) -> Optional[dict]:
Returns:
Optional[dict]: Information about the executor.
"""
f: Future = Future()
if isinstance(self._future_queue, queue.Queue):
f: Future = Future()
self._future_queue.queue.insert(
0, {"internal": True, "task": "info", "future": f}
)
return f.result()
return f.result()

def submit( # type: ignore
self,
Expand Down

0 comments on commit af3f9c7

Please sign in to comment.