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

Validate target manager request bodies - #3592

Closed
adamtheturtle wants to merge 1 commit into
mainfrom
fix/typed-target-manager-bodies
Closed

adamtheturtle wants to merge 1 commit into
mainfrom
fix/typed-target-manager-bodies

Conversation

@adamtheturtle

@adamtheturtle adamtheturtle commented Sep 9, 2026 •

Copy link
Copy Markdown
Member

Validate target-manager control payloads as precise Pydantic models or TypedDict adapters before constructing domain objects. OAuth credentials, image targets, partial target updates, and recognition counts now have known types, removing 22 Pyrefly suppressions at once.

Validation:

  • uv run pytest -q tests/mock_vws/test_flask_app_usage.py (48 passed)
  • uv run prek run --all-files
  • uv run prek run --all-files --hook-stage pre-push
  • uv run prek run --all-files --hook-stage manual

@adamtheturtle

Copy link
Copy Markdown
Member Author

Consolidated into #3590 so this cleanup is represented by one PR for the project.

This branch had an error being deployed

1 failed and 1 inactive deployments
development — a32143dc Deployed Sep 9, 2026 by adamtheturtle via pages #2060
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