Skip to content
This repository was archived by the owner on Oct 30, 2026. It is now read-only.

Type and validate mock API JSON payloads - #3590

Merged
adamtheturtle merged 6 commits into
mainfrom
fix/model-target-json-types
Sep 10, 2026
Merged

adamtheturtle merged 6 commits into
mainfrom
fix/model-target-json-types

Conversation

@adamtheturtle

@adamtheturtle adamtheturtle commented Sep 9, 2026 •

Copy link
Copy Markdown
Member

Summary

  • define recursive JSON value types for persisted Model Target data and service-validator request bodies
  • validate Flask and requests-mock target payloads before constructing domain objects
  • validate target-manager control bodies and recognition-count requests at their JSON boundaries
  • remove 50 Pyrefly suppressions without adding checker configuration

Validation

  • uv run --group=dev prek run --all-files --hook-stage pre-commit
  • uv run --group=dev prek run --all-files --hook-stage pre-push
  • focused public Flask and Model Target tests (53 passed)

The wider backend matrix requires real Vuforia credentials locally. Hosted CI currently has one Real Vuforia failure because the test project is suspended; the mock, lint, documentation, and Docker jobs pass.

This branch was previously deployed

2 inactive deployments
development — 9eed732f Deployed Sep 10, 2026 by adamtheturtle via pages #2064
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant