- 
                Notifications
    You must be signed in to change notification settings 
- Fork 89
Closed
Description
This doesn't work. if I set the result_path=None, "ResultPath" won't appear in JSON, so I cannot pass the input as output for a task.
Aren't below test case fail every time?
def test_paths_none_converted_to_null():
task_state = Task('Task', resource='arn:aws:lambda:us-east-1:1234567890:function:StartLambda',
result_path=None,
input_path=None,
output_path=None)
assert '"ResultPath": null' in task_state.to_json()
assert '"InputPath": null' in task_state.to_json()
assert '"OutputPath": null' in task_state.to_json()
Metadata
Metadata
Assignees
Labels
No labels