Commit 57a5ff1e authored by payno's avatar payno
Browse files

[ci] rework pythonActorTest to take a dictionary as input.

parent 2001aef6
......@@ -25,10 +25,10 @@ __date__ = "28/05/2019"
import time
def run(name, **kwargs):
def run(input_, **kwargs):
reply = None
if name is not None:
if 'name' in input_ and input_['name'] is not None:
name = input_['name']
reply = 'Hello ' + name + '!'
return {'reply': reply}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment