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

ctx_cancel_semantics_and_overruns
Tyler Goodlet 2024-03-08 14:03:18 -05:00
parent f90ca0668b
commit 8e3a2a9297
1 changed files with 2 additions and 1 deletions

View File

@ -1676,8 +1676,8 @@ class Actor:
self,
cid: str,
parent_chan: Channel,
requesting_uid: tuple[str, str]|None,
requesting_uid: tuple[str, str]|None = None,
ipc_msg: dict|None|bool = False,
) -> bool:
@ -2211,6 +2211,7 @@ async def process_messages(
await actor._cancel_task(
cid,
channel,
requesting_uid=channel.uid,
ipc_msg=msg,
)