Rename Target and TargetDict to ImageTarget and ImageTargetDict#2964
Merged
adamtheturtle merged 2 commits intomainfrom Feb 20, 2026
Merged
Rename Target and TargetDict to ImageTarget and ImageTargetDict#2964adamtheturtle merged 2 commits intomainfrom
adamtheturtle merged 2 commits intomainfrom
Conversation
Rename class Target → ImageTarget and class TargetDict → ImageTargetDict throughout the codebase. Updates all imports and usages in source code and tests. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.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.
Summary
Rename
Target→ImageTargetandTargetDict→ImageTargetDictthroughout the codebase. This applies to the class definitions intarget.pyand all imports and usages across source code and tests.Test plan
🤖 Generated with Claude Code
Note
Low Risk
Primarily a rename/type-annotation refactor with broad but mechanical touch points; risk is limited to potential missed imports/serialization type mismatches causing runtime or test failures.
Overview
Renames the core target model and its serialized form across the project:
Target→ImageTargetandTargetDict→ImageTargetDict, updating construction, type annotations, andfrom_dict/to_dictusage throughout the Flask servers, requests-mock API, and tests.Documentation is updated to reference
mock_vws.target.ImageTarget, andVuforiaDatabase’stargetscollection plus related helpers now explicitly operate onImageTargettypes.Written by Cursor Bugbot for commit acb9597. This will update automatically on new commits. Configure here.