Skip to content

Commit

Permalink
rebase amend
Browse files Browse the repository at this point in the history
  • Loading branch information
unkcpz committed Dec 30, 2024
1 parent 8347f29 commit 92cbdef
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/plumpy/rmq/communications.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@

import kiwipy

from plumpy import futures
from plumpy.futures import create_task
from plumpy.rmq.futures import wrap_to_concurrent_future
from plumpy.utils import ensure_coroutine

__all__ = [
Expand Down Expand Up @@ -72,7 +73,7 @@ def converted(communicator: kiwipy.Communicator, *args: Any, **kwargs: Any) -> k
return kiwi_future

msg_fn = functools.partial(coro, communicator, *args, **kwargs)
task_future = futures.create_task(msg_fn, loop)
task_future = create_task(msg_fn, loop)
return wrap_to_concurrent_future(task_future)

return converted
Expand Down

0 comments on commit 92cbdef

Please sign in to comment.