mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-21 13:50:20 +08:00
Drop lib/galaxy/tools/source_store/models.py — 10 of its 11 pydantic models were orphaned scaffolding for a tool-source admin API that no longer exists (nothing referenced them). Keep the one that maps to a real endpoint, SanitizeAllowlistResponse, moved next to its only consumer and given a typed per-tool entry so it actually narrows the response. The controller now returns SanitizeAllowlistResponse(**...).model_dump(), which reproduces the exact JSON the client already consumes (verified round-trip-identical). Claude-Session: https://claude.ai/code/session_018L7ZmCv2ubKA3JNeSL8Pkr