Skip to content

Remove Any from Python payload types#67

Merged
cgasgarth merged 1 commit into
mainfrom
feat/remove-any-types
Apr 13, 2026
Merged

Remove Any from Python payload types#67
cgasgarth merged 1 commit into
mainfrom
feat/remove-any-types

Conversation

@cgasgarth
Copy link
Copy Markdown
Owner

Summary

  • remove remaining Python Any annotations across the server and shared protocol modules
  • replace broad Any-typed payloads with concrete JSON/object aliases, typed preview sample structures, and explicit narrowing/casts at JSON boundaries
  • keep the existing ty migration green while preserving test and build behavior

Validation

  • uv run ty check
  • uv run pytest server/tests
  • uvx pre-commit run --all-files
  • uv build
  • npm run check:e2e not run because this repo does not define that script

@cgasgarth cgasgarth merged commit ceabb8d into main Apr 13, 2026
3 checks passed
@cgasgarth cgasgarth deleted the feat/remove-any-types branch April 13, 2026 03:05
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