Repository navigation
fix(tasks): add missing skipped state to TaskReviewStatus enum (#55) - #113
Open
themanoj-025 wants to merge 1 commit into
Open
themanoj-025 wants to merge 1 commit into
themanoj-025 wants to merge 1 commit into
Conversation
…api#55) Signed-off-by: Manoj Jana <jm2705470@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request Summary
Closes #55
Description
During task audit workflows, tasks can be skipped and are returned with review status
skipped. However,TaskReviewStatusenum was missing theSkippedstate.This PR adds:
TaskReviewStatus.Skipped = "skipped"toscaleapi/tasks.py.tests/test_tasks.pyto verify enum membership, string lookup, and parameter serialization in_process_tasks_endpoint_args.scaleapi/_version.pyfrom2.20.0to2.20.1.How did you test your code?
tests/for the newly implemented methods: Addedtests/test_tasks.pycoveringTaskReviewStatus.Skippedand_process_tasks_endpoint_argsserialization.pytest tests/test_tasks.py tests/test_audits.py -v: 13 passed in 0.81s.Checklist
_version.py(unless this PR only updates the documentation).

Confidence Score: 5/5
The PR appears safe to merge.Summary
Adds
TaskReviewStatus.Skippedand bumps the SDK to2.20.1.Reviews (1) · Last reviewed commit: "fix(tasks): add missing skipped state to..." · Reviewed by Greptile