Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aws_stepfunctions: item_processor function missing #28470

Closed
hunt3ri opened this issue Dec 22, 2023 · 2 comments
Closed

aws_stepfunctions: item_processor function missing #28470

hunt3ri opened this issue Dec 22, 2023 · 2 comments
Assignees
Labels
@aws-cdk/aws-stepfunctions Related to AWS StepFunctions closed-for-staleness This issue was automatically closed because it hadn't received any attention in a while. response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.

Comments

@hunt3ri
Copy link

hunt3ri commented Dec 22, 2023

Describe the bug

As per the docs here I should be able to use the item_processor along with ProcessorMode, ProcessorType to define a distributed map. None of these functions are available in the 2.115.0 build I'm using, eg they don't appear to be in the source code at all, or at least are not exposed to the python version

ProcessorMode

Expected Behavior

ProcessorMode functions should be available

Current Behavior

ProcessorMode not available

Reproduction Steps

Put this code in Python, see that item_processor not available

    distributed_map = sfn.Map(
            self,
            "ExtractDataMap",
            items_path=sfn.JsonPath.string_at("$.tables"),
            state_name="Process CSV",
        ).add_catch(failure, errors=["States.ALL"])

        distributed_map.item_processor(
            sfn.Pass(self, "Pass State"),
            mode=sfn.ProcessorMode.DISTRIBUTED,
            execution_type=sfn.ProcessorType.STANDARD,
        )

Possible Solution

Expose these methods to Python?

Additional Information/Context

No response

CDK CLI Version

2.115.0 (build 58027ee)

Framework Version

No response

Node.js Version

20

OS

mac

Language

Python

Language Version

3.11

Other information

No response

@hunt3ri hunt3ri added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Dec 22, 2023
@github-actions github-actions bot added the @aws-cdk/aws-stepfunctions Related to AWS StepFunctions label Dec 22, 2023
@khushail khushail self-assigned this Dec 22, 2023
@khushail khushail added investigating This issue is being investigated and/or work is in progress to resolve the issue. p2 and removed needs-triage This issue or PR still needs to be triaged. labels Dec 22, 2023
@khushail
Copy link
Contributor

Hi @hunt3ri , I noticed this PR was merged recently and addresses the issue. So this works in latest version 2.116.
Please feel free to reach out if the issue persists.

@khushail khushail added response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. and removed bug This issue is a bug. p2 investigating This issue is being investigated and/or work is in progress to resolve the issue. labels Dec 22, 2023
Copy link

This issue has not received a response in a while. If you want to keep this issue open, please leave a comment below and auto-close will be canceled.

@github-actions github-actions bot added closing-soon This issue will automatically close in 4 days unless further comments are made. closed-for-staleness This issue was automatically closed because it hadn't received any attention in a while. and removed closing-soon This issue will automatically close in 4 days unless further comments are made. labels Dec 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@aws-cdk/aws-stepfunctions Related to AWS StepFunctions closed-for-staleness This issue was automatically closed because it hadn't received any attention in a while. response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.
Projects
None yet
Development

No branches or pull requests

2 participants