-
Notifications
You must be signed in to change notification settings - Fork 20
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
(core) add appflow stage #68
Conversation
766792d
to
6c436c7
Compare
41f5c53
to
4fe4ee9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll let other folks comment but overall looks good to me!
core/aws_ddk_core/stages/appflow.py
Outdated
) | ||
|
||
# Create start flow step function task | ||
flow_object = CustomState( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One idea is to make the constructor shorter and more readable perhaps we should move some code into private methods e.g. _create_start_flow_custom_task(flow_name: str, ...)
, etc.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've done this for the custom state task and the lambda task!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you need the variables like flow_object
in _create_start_flow_custom_task
? I think you can just return CustomState(...)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done 👍
06d8052
to
7548e9c
Compare
core/aws_ddk_core/stages/lambda_handlers/appflow_check_flow_status/index.py
Outdated
Show resolved
Hide resolved
09266f6
to
66bcc72
Compare
Feature or Bugfix
Detail
Relates
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.