File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
samples-v2/orchestration_versioning Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -33,9 +33,9 @@ def my_orchestrator(context: df.DurableOrchestrationContext):
33
33
activity_result = yield context .call_activity ('activity_b' )
34
34
35
35
# Provide an opportunity to update and restart the app
36
- context .set_custom_status ("Waiting for Continue event..." )
37
- yield context .wait_for_external_event ("Continue" )
38
- context .set_custom_status ("Continue event received" )
36
+ # context.set_custom_status("Waiting for Continue event...")
37
+ # yield context.wait_for_external_event("Continue")
38
+ # context.set_custom_status("Continue event received")
39
39
40
40
# New sub-orchestrations will use the current defaultVersion specified in host.json
41
41
sub_result = yield context .call_sub_orchestrator ('my_sub_orchestrator' )
@@ -45,10 +45,10 @@ def my_orchestrator(context: df.DurableOrchestrationContext):
45
45
def my_sub_orchestrator (context : df .DurableOrchestrationContext ):
46
46
return context .version
47
47
48
- @myApp .activity_trigger ()
49
- def activity_a () -> str :
48
+ @myApp .activity_trigger (input_name = "input" )
49
+ def activity_a (input : str ) -> str :
50
50
return f"Hello from A!"
51
51
52
- @myApp .activity_trigger ()
53
- def activity_b () -> str :
54
- return f"Hello from B!"
52
+ @myApp .activity_trigger (input_name = "input" )
53
+ def activity_b (input : str ) -> str :
54
+ return f"Hello from B!"
You can’t perform that action at this time.
0 commit comments