Skip to content

[PLT-4720] [PLT-4721] Explain LabelVersion.stage for SENT_TO_REWORK - #2094

Merged
pablito25sp merged 1 commit into
developfrom
psp/PLT-4720-PLT-4721
Oct 26, 2026
Merged

pablito25sp merged 1 commit into
developfrom
psp/PLT-4720-PLT-4721

Conversation

@pablito25sp

@pablito25sp pablito25sp commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Text only. For a SENT_TO_REWORK version, stage is the step the data row was moved out of, so None means it was moved from Done. The version does not record the rework step it entered. The LabelVersion.stage docstring, the LabelVersionStage docstring and the SENT_TO_REWORK comment now say so. This is how the backend already records stage.

Release this with the next SDK release after the intelligence change is in prod.

Jira: PLT-4720
Jira: PLT-4721

🤖 Generated with Claude Code


Note

Low Risk
Docstring and comment changes only; no code or API behavior changes.

Overview
Documentation-only update to the Label Version schema so SDK docs match how the backend already sets stage.

For SENT_TO_REWORK, the docs now state that stage is the workflow step the data row was moved out of (not the rework queue it entered). None on that action means the row was sent to rework from Done, and the destination rework step is not stored on the version.

LabelVersionStage is described as the step the data row was in at the hand-off, and LabelVersion.stage is aligned with that wording plus the SENT_TO_REWORK rules above. No runtime or API behavior changes.

Reviewed by Cursor Bugbot for commit be88181. Bugbot is set up for automated code reviews on this repo. Configure here.

- For SENT_TO_REWORK, stage is the step the data row was moved out of, so
  None means it was moved from Done. The rework step it entered is not
  recorded.

Jira: https://labelbox.atlassian.net/browse/PLT-4720, https://labelbox.atlassian.net/browse/PLT-4721

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@pablito25sp
pablito25sp merged commit 60f1c41 into develop Oct 26, 2026
14 of 24 checks passed
@pablito25sp
pablito25sp deleted the psp/PLT-4720-PLT-4721 branch October 26, 2026 14:09

This branch was successfully deployed

1 active deployment
Test-PyPI — be88181f Deployed Oct 26, 2026 by pablito25sp via test-pypi #2567
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.

2 participants