Skip to content

feat: add QA Checks Revalidation methods#241

Merged
andrii-bodnar merged 1 commit intocrowdin:mainfrom
gionata405:feature/qa-checks-revalidation
Mar 2, 2026
Merged

feat: add QA Checks Revalidation methods#241
andrii-bodnar merged 1 commit intocrowdin:mainfrom
gionata405:feature/qa-checks-revalidation

Conversation

@gionata405
Copy link
Contributor

Closes #236

Changes

Added three new methods to TranslationStatusResource to support the QA Checks Revalidation API endpoints:

  • start_qa_checks_revalidation(projectId)POST /projects/{projectId}/qa-checks/revalidate
  • get_qa_checks_revalidation_status(projectId)GET /projects/{projectId}/qa-checks/revalidate
  • cancel_qa_checks_revalidation(projectId)DELETE /projects/{projectId}/qa-checks/revalidate

Each method follows the existing patterns in the codebase. Unit tests added for all three methods.

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-commenter
Copy link

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.39%. Comparing base (993e783) to head (40a6951).
⚠️ Report is 1 commits behind head on main.

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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

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, and cancel_qa_checks_revalidation to TranslationStatusResource.
  • 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.

Copy link
Member

@andrii-bodnar andrii-bodnar left a comment

Choose a reason for hiding this comment

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

@gionata405 thank you!

@andrii-bodnar andrii-bodnar merged commit 97738be into crowdin:main Mar 2, 2026
10 checks passed
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.

Add support for Revalidate QA Checks methods

4 participants