Skip to content

Commit 3e0edbc

Browse files
committed
fix pattern_async_actor demo
Signed-off-by: curiosity-hyf <[email protected]>
1 parent 89f25e4 commit 3e0edbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/source/ray-core/doc_code/pattern_async_actor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ async def run(self):
5151
# Here we use await instead of ray.get() to
5252
# wait for the next task and it will yield
5353
# the control while waiting.
54-
task = await task_store.get_next_task.remote()
54+
task = await self.task_store.get_next_task.remote()
5555
self._execute_task(task)
5656

5757
def _execute_task(self, task):

0 commit comments

Comments
 (0)