forked from goodboy/tractor
1
0
Fork 0

Make `Actor._cancel_task(requesting_uid: tuple)` required arg

modden_spawn_from_client_req
Tyler Goodlet 2024-03-08 14:03:18 -05:00
parent 1617e0ff2c
commit b29d33d603
1 changed files with 2 additions and 1 deletions

View File

@ -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,
) )