File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -92,6 +92,7 @@ class KSExecuteActivityAction:
9292class KitchenSinkWorkflow :
9393 @workflow .run
9494 async def run (self , params : KSWorkflowParams ) -> Any :
95+ print ("π in workflow" )
9596 # Handle all initial actions
9697 for action in params .actions or []:
9798 should_return , ret = await self .handle_action (params , action )
@@ -111,6 +112,7 @@ async def run(self, params: KSWorkflowParams) -> Any:
111112 async def handle_action (
112113 self , params : KSWorkflowParams , action : KSAction
113114 ) -> Tuple [bool , Any ]:
115+ print ("π in handle_action" )
114116 if action .result :
115117 if action .result .run_id :
116118 return (True , workflow .info ().run_id )
Original file line number Diff line number Diff line change 5656
5757
5858async def test_activity_hello (client : Client , worker : ExternalWorker ):
59+ print ("π" )
5960 @activity .defn
6061 async def say_hello (name : str ) -> str :
62+ print ("π in activity" )
6163 return f"Hello, { name } !"
6264
6365 result = await _execute_workflow_with_activity (
@@ -1309,6 +1311,7 @@ async def _execute_workflow_with_activity(
13091311 worker_config ["max_concurrent_activities" ] = default_max_concurrent_activities
13101312 async with Worker (** worker_config ):
13111313 try :
1314+ print ("π in client" )
13121315 handle = await client .start_workflow (
13131316 "kitchen_sink" ,
13141317 KSWorkflowParams (
You canβt perform that action at this time.
0 commit comments