This library looks really good but I'm having trouble getting it to work!
First, the quickstart doc says to have the following imports:
from datastores import *
from serializers import *
from decorators import *
from activityworker import *
from decisionworker import *
Well, that results in ImportError because all those are under the pyswfaws module.
After fixing that, I get WorkflowExecutionFailed with exception global name 'activity_task_a' is not defined. I added from activity import activity_task_a to the top of the decider, but then I get WorkerflowExecutionFailed with exception 'int' object has no attribute 'result'. I assume this is because the activity is being executed in local mode. How do I fix?
Once I get this working I'll send a PR to fix the documentation. Thanks for any help!
Gist with current config: https://gist.github.com/cyounkins/a9f0a0fb87a250fea877d72ae9c3f86c
This library looks really good but I'm having trouble getting it to work!
First, the quickstart doc says to have the following imports:
Well, that results in
ImportErrorbecause all those are under thepyswfawsmodule.After fixing that, I get
WorkflowExecutionFailedwith exceptionglobal name 'activity_task_a' is not defined. I addedfrom activity import activity_task_ato the top of the decider, but then I getWorkerflowExecutionFailedwith exception'int' object has no attribute 'result'. I assume this is because the activity is being executed in local mode. How do I fix?Once I get this working I'll send a PR to fix the documentation. Thanks for any help!
Gist with current config: https://gist.github.com/cyounkins/a9f0a0fb87a250fea877d72ae9c3f86c