@@ -59,7 +59,7 @@ class SignalingService:
5959
6060
6161@workflow .defn
62- class SignalCalleeWorkflow :
62+ class CalleeWorkflow :
6363 def __init__ (self ) -> None :
6464 self ._received : list [str ] = []
6565 self ._expected = 1
@@ -79,7 +79,7 @@ def ping(self, msg: str) -> None:
7979
8080
8181@workflow .defn
82- class SignalCallerWorkflow :
82+ class CallerWorkflow :
8383 @workflow .run
8484 async def run (self , mode : str , callee_id : str , task_queue : str ) -> str :
8585 client = workflow .create_nexus_client (
@@ -133,7 +133,7 @@ async def op(self, _ctx: StartOperationContext, input: str) -> str:
133133 await (
134134 nexus .client ()
135135 .get_workflow_handle (callee_id )
136- .signal (SignalCalleeWorkflow .ping , "second" )
136+ .signal (CalleeWorkflow .ping , "second" )
137137 )
138138 return "ok:sync"
139139
@@ -155,7 +155,7 @@ async def _signal_with_start(callee_id: str, payload: str) -> None:
155155 # signal-with-start exercises the SignalWithStartWorkflowExecutionResponse.signal_link
156156 # backlink path in temporalio.client._impl.
157157 await nexus .client ().start_workflow (
158- SignalCalleeWorkflow .run ,
158+ CalleeWorkflow .run ,
159159 2 if payload == "first" else 1 ,
160160 id = callee_id ,
161161 task_queue = nexus .info ().task_queue ,
@@ -251,17 +251,17 @@ async def test_sync_signal_operation_links(
251251
252252 task_queue = str (uuid .uuid4 ())
253253 await env .create_nexus_endpoint (make_nexus_endpoint_name (task_queue ), task_queue )
254- callee_id = f"sync- callee-{ uuid .uuid4 ()} "
255- caller_id = f"sync- caller-{ uuid .uuid4 ()} "
254+ callee_id = f"callee-{ uuid .uuid4 ()} "
255+ caller_id = f"caller-{ uuid .uuid4 ()} "
256256
257257 async with Worker (
258258 client ,
259259 task_queue = task_queue ,
260260 nexus_service_handlers = [SignalingServiceHandler ()],
261- workflows = [SignalCallerWorkflow , SignalCalleeWorkflow ],
261+ workflows = [CallerWorkflow , CalleeWorkflow ],
262262 ):
263263 caller_handle = await client .start_workflow (
264- SignalCallerWorkflow .run ,
264+ CallerWorkflow .run ,
265265 args = [MODE_SYNC , callee_id , task_queue ],
266266 id = caller_id ,
267267 task_queue = task_queue ,
@@ -307,7 +307,7 @@ async def test_async_signal_operation_links(
307307 client ,
308308 task_queue = task_queue ,
309309 nexus_service_handlers = [AsyncSignalingServiceHandler ()],
310- workflows = [AsyncSignalCallerWorkflow , SignalCalleeWorkflow ],
310+ workflows = [AsyncSignalCallerWorkflow , CalleeWorkflow ],
311311 ):
312312 caller_handle = await client .start_workflow (
313313 AsyncSignalCallerWorkflow .run ,
0 commit comments