Skip to content

Latest Step Functions choice operators are not available in 1.1.2 release #121

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

Closed
anatoly-scherbakov opened this issue Feb 24, 2021 · 2 comments

Comments

@anatoly-scherbakov
Copy link

Version

>>> import stepfunctions
>>> stepfunctions.__version__
'1.1.2'

installed from pypi.

Expected

In this commit from 22 Sep 2020, new comparators were added to stepfunctions, including IsPresent. On 24 Sep 2020, the 1.1.2 release was published to PyPI. So I expected to see the new comparators available there. But,

What actually happens

is this:

>>> from stepfunctions.steps import ChoiceRule
>>> ChoiceRule.IsPresent()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: type object 'ChoiceRule' has no attribute 'IsPresent'

perhaps it would be possible to publish a new release with these features included? Thank you!

@wong-a
Copy link
Contributor

wong-a commented Feb 24, 2021

Hi @anatoly-scherbakov, as you noted, #88 adds support for the new choice operators but is not yet released. We're working on a v2 release that will include this! Stay tuned.

#108

@shivlaks
Copy link
Contributor

shivlaks commented Mar 3, 2021

@anatoly-scherbakov - v2 has been released and includes support for the new choice operators.

Take a look at the release notes for details on upgrading and breaking changes in v2.0.0.

Resolving this issue, feel free to reopen if you have any outstanding questions!

@shivlaks shivlaks closed this as completed Mar 3, 2021
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

No branches or pull requests

3 participants