forked from goodboy/tractor
Make `Actor._cancel_task(requesting_uid: tuple)` required arg
parent
1617e0ff2c
commit
b29d33d603
|
@ -1752,8 +1752,8 @@ class Actor:
|
||||||
self,
|
self,
|
||||||
cid: str,
|
cid: str,
|
||||||
parent_chan: Channel,
|
parent_chan: Channel,
|
||||||
|
requesting_uid: tuple[str, str]|None,
|
||||||
|
|
||||||
requesting_uid: tuple[str, str]|None = None,
|
|
||||||
ipc_msg: dict|None|bool = False,
|
ipc_msg: dict|None|bool = False,
|
||||||
|
|
||||||
) -> bool:
|
) -> bool:
|
||||||
|
@ -2352,6 +2352,7 @@ async def process_messages(
|
||||||
await actor._cancel_task(
|
await actor._cancel_task(
|
||||||
cid,
|
cid,
|
||||||
channel,
|
channel,
|
||||||
|
requesting_uid=channel.uid,
|
||||||
|
|
||||||
ipc_msg=msg,
|
ipc_msg=msg,
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue