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

Fix issue in Step Functions integration with CLI defined decorators #920

Merged
merged 2 commits into from
Jan 25, 2022

Conversation

savingoyal
Copy link
Collaborator

No description provided.

@savingoyal savingoyal requested a review from oavdeev January 25, 2022 00:58
@savingoyal savingoyal merged commit 885810a into master Jan 25, 2022
@savingoyal savingoyal deleted the sfn-bug branch January 25, 2022 01:25
@@ -799,9 +797,6 @@ def _step_cli(self, node, paths, code_package_url, user_code_retries):
"--retry-count $((AWS_BATCH_JOB_ATTEMPT-1))",
"--max-user-code-retries %d" % user_code_retries,
"--input-paths %s" % paths,
# Set decorator to batch to execute `task_*` hooks for batch
# decorator.
"--with=batch",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you explain why --batch is no longer needed here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's added in step_functions_cli.py as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants