Skip to content

Cannot output null value in ResultPath #45

Closed
@shunjd

Description

@shunjd

We cannot output the following JSON definition even if result_path is None.

{
  "Type": "Parallel",
  "ResultPath": null
}

If result_path is specified explicitly, user should expect to have it in the final statemachine definition.

from stepfunctions import steps

p = steps.Parallel('test', result_path=None)
assert 'ResultPath' in p.to_dict()

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions