feat: annotation-overwrite parameter on upload_dataset and the CLI - #524
Merged
Conversation
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
digaobarbosa
previously approved these changes
Sep 1, 2026
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
digaobarbosa
approved these changes
Sep 1, 2026
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.
Description
The zip upload API now takes
annotationOverwrite(roboflow/roboflow#14928). This sends it.Default
False, so a re-uploaded image keeps its annotations.Classification defaults to
True, which is what that API accepts.Overridable with
upload_dataset(annotation_overwrite=...)androboflow image upload --annotation-overwrite/--no-annotation-overwrite.Under review: the parameter is a three-state
Optional[bool], whereNonereadsproject.typeat the call site. PassingFalseon a classification project reaches the API and returns its 400, rather than being corrected here.Type of change
How has this change been tested?
Any specific deployment considerations
Client-only. Needs roboflow/roboflow#14928 deployed.
Pipeline
no-mistakes run
01M1CSZWMEXBFX79S3KR932WRAonbc/CMD-27@864163e8— outcome: checks-passed.dropped-body-test(warning, ask-user): approved by card owner, deletion stands;flag-ignored-per-image(info, no-op)product-docs-flag(info, ask-user): approved; external roboflow-product-docs entry carried by card ownerNote: the pipeline's own PR-body update failed on the
gh pr editprojects-classic GraphQL deprecation; this block is reconstructed fromno-mistakes axi statusrun evidence.