File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
articles/azure-functions/durable Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -93,9 +93,9 @@ module.exports = df.orchestrator(function*(context) {
93
93
import azure.durable_functions as df
94
94
95
95
def orchestrator_function (context : df.DurableOrchestrationContext):
96
- input_ = context.get_input()
96
+ input = context.get_input()
97
97
# Do some work
98
- return f " Hello { name} ! "
98
+ return f " Hello { input [ ' name' ] } ! "
99
99
100
100
main = df.Orchestrator.create(orchestrator_function)
101
101
```
@@ -149,8 +149,8 @@ module.exports = df.orchestrator(function*(context) {
149
149
import azure.durable_functions as df
150
150
151
151
def orchestrator_function (context : df.DurableOrchestrationContext):
152
- input_ = context.get_input()
153
- result = yield context.call_activity(' SayHello' , name)
152
+ input = context.get_input()
153
+ result = yield context.call_activity(' SayHello' , input [ ' name' ] )
154
154
return result
155
155
156
156
main = df.Orchestrator.create(orchestrator_function)
You can’t perform that action at this time.
0 commit comments