Skip to content

Rename Target and TargetDict to ImageTarget and ImageTargetDict#2964

Merged
adamtheturtle merged 2 commits intomainfrom
adamtheturtle/add-vumark-endpoint
Feb 20, 2026
Merged

Rename Target and TargetDict to ImageTarget and ImageTargetDict#2964
adamtheturtle merged 2 commits intomainfrom
adamtheturtle/add-vumark-endpoint

Conversation

@adamtheturtle
Copy link
Member

@adamtheturtle adamtheturtle commented Feb 19, 2026

Summary

Rename TargetImageTarget and TargetDictImageTargetDict throughout the codebase. This applies to the class definitions in target.py and all imports and usages across source code and tests.

Test plan

  • Existing tests should pass as the functionality is unchanged
  • All imports have been updated to use the new class names

🤖 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: TargetImageTarget and TargetDictImageTargetDict, updating construction, type annotations, and from_dict/to_dict usage throughout the Flask servers, requests-mock API, and tests.

Documentation is updated to reference mock_vws.target.ImageTarget, and VuforiaDatabase’s targets collection plus related helpers now explicitly operate on ImageTarget types.

Written by Cursor Bugbot for commit acb9597. This will update automatically on new commits. Configure here.

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>
@adamtheturtle adamtheturtle merged commit 7206757 into main Feb 20, 2026
103 of 106 checks passed
@adamtheturtle adamtheturtle deleted the adamtheturtle/add-vumark-endpoint branch February 20, 2026 15:02
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.

1 participant