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

Deploy if transition handler #667

Merged
merged 3 commits into from
Oct 29, 2020
Merged

Conversation

iakinsey
Copy link
Contributor

No description provided.

@iakinsey iakinsey requested a review from freeqaz as a code owner October 28, 2020 02:36
Copy link
Collaborator

@freeqaz freeqaz left a comment

Choose a reason for hiding this comment

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

Makes sense to me!

@@ -68,6 +70,13 @@ def __init__(self, *args, api_gateway_manager=None, latest_deployment=None, **kw

self._previous_state_lookup.add_state(state)

self._if_transition_arn = None
self._has_if_transition = bool([
Copy link
Collaborator

Choose a reason for hiding this comment

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

Witchcraft

Copy link
Collaborator

Choose a reason for hiding this comment

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

Should this be a getter instead just in case additional transitions are added later (for some reason) this gets properly "set" to true?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, but I want to keep things in one place to make it easy to eliminate if we don't go down this route.

@iakinsey iakinsey merged commit 6847eb9 into temporal Oct 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants