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
Add is_submitted for states #944
Conversation
Here I am, brain the size of a planet and they ask me to welcome you to Prefect. So, welcome to the community @zdhughes! 🎉 🎉 |
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.
Could you add the new is_submitted
method to the method tests here: https://github.com/PrefectHQ/prefect/blob/master/tests/engine/test_state.py#L290 ?
Thanks!!
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.
Awesome, thanks @zdhughes !
Thanks for contributing to Prefect!
Please describe your work and make sure your PR:
CHANGELOG.md
(if appropriate)docs/outline.toml
for API reference docs (if appropriate)Note that your PR will not be reviewed unless all three boxes are checked.
What does this PR change?
This PR adds the is_submitted method for states.
Why is this PR important?
This PR makes it easier to detect if a state is submitted.