Skip to content

Commit 8c471d3

Browse files
committed
DEV: print statements
1 parent ee52b71 commit 8c471d3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

temporalio/worker/_workflow_instance.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,7 @@ def get_thread_id(self) -> Optional[int]:
358358
def activate(
359359
self, act: temporalio.bridge.proto.workflow_activation.WorkflowActivation
360360
) -> temporalio.bridge.proto.workflow_completion.WorkflowActivationCompletion:
361+
print("activate -------------------------------------------------------------")
361362
# Reset current completion, time, and whether replaying
362363
self._current_completion = (
363364
temporalio.bridge.proto.workflow_completion.WorkflowActivationCompletion()
@@ -490,6 +491,7 @@ def is_completion(command):
490491
def _apply(
491492
self, job: temporalio.bridge.proto.workflow_activation.WorkflowActivationJob
492493
) -> None:
494+
print("job", job.WhichOneof("variant"))
493495
if job.HasField("cancel_workflow"):
494496
self._apply_cancel_workflow(job.cancel_workflow)
495497
elif job.HasField("do_update"):

0 commit comments

Comments
 (0)