Skip to content

Commit

Permalink
more fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-janssen committed Feb 3, 2025
1 parent 1f5cbaf commit 5ebd31b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions executorlib/base/executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,12 @@ def future_queue(self) -> Optional[queue.Queue]:
"""
return self._future_queue

def submit(
def submit( # type: ignore
self,
fn: Callable,
*args,
resource_dict: Optional[dict] = None,
**kwargs, # type: ignore
**kwargs,
) -> Future:
"""
Submits a callable to be executed with the given arguments.
Expand Down
4 changes: 2 additions & 2 deletions executorlib/interactive/shared.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@


class ExecutorBroker(ExecutorBase):
def submit(
def submit( # type: ignore
self, fn: Callable, *args, resource_dict: Optional[dict] = None, **kwargs
) -> Future: # type: ignore
) -> Future:
"""
Submits a callable to be executed with the given arguments.
Expand Down

0 comments on commit 5ebd31b

Please sign in to comment.