feat: add QA Checks Revalidation methods#241
Merged
andrii-bodnar merged 1 commit intocrowdin:mainfrom Mar 2, 2026
Merged
Conversation
Implements three new methods on TranslationStatusResource:
- start_qa_checks_revalidation(): POST /projects/{id}/qa-checks/revalidate
- get_qa_checks_revalidation_status(): GET /projects/{id}/qa-checks/revalidate
- cancel_qa_checks_revalidation(): DELETE /projects/{id}/qa-checks/revalidate
Closes crowdin#236
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #241 +/- ##
==========================================
+ Coverage 99.39% 99.39% +0.01%
==========================================
Files 182 182
Lines 8433 8460 +27
Branches 187 187
==========================================
+ Hits 8381 8408 +27
Misses 36 36
Partials 16 16 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Pull request overview
Adds support in the Python Crowdin API client for the Translation Status “QA Checks Revalidation” endpoints, enabling SDK users to start, check status of, and cancel QA revalidation jobs for a project.
Changes:
- Added
start_qa_checks_revalidation,get_qa_checks_revalidation_status, andcancel_qa_checks_revalidationtoTranslationStatusResource. - Added unit tests validating the expected HTTP method + path for each new endpoint.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
crowdin_api/api_resources/translation_status/resource.py |
Implements three new resource methods mapping to POST/GET/DELETE /projects/{projectId}/qa-checks/revalidate. |
crowdin_api/api_resources/translation_status/tests/test_translation_status_resources.py |
Adds unit tests asserting correct requester calls for the new methods. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
Closes #236
Changes
Added three new methods to
TranslationStatusResourceto support the QA Checks Revalidation API endpoints:start_qa_checks_revalidation(projectId)—POST /projects/{projectId}/qa-checks/revalidateget_qa_checks_revalidation_status(projectId)—GET /projects/{projectId}/qa-checks/revalidatecancel_qa_checks_revalidation(projectId)—DELETE /projects/{projectId}/qa-checks/revalidateEach method follows the existing patterns in the codebase. Unit tests added for all three methods.