Skip to content

Add SPRING support to image queries and downloads - #68

Merged
robertdstein merged 6 commits into
mainfrom
v1.7
Sep 10, 2026
Merged

robertdstein merged 6 commits into
mainfrom
v1.7

Conversation

@robertdstein

@robertdstein robertdstein commented Sep 2, 2026 •

Copy link
Copy Markdown
Member

Summary

  • winterwebapi recently added SPRING image support: /images/query, /images/download_query, and /images/download_list now take an instrument: Literal["winter","spring"] = "winter" query parameter (no more separate /images/spring/... prefix).
  • ToO submission (/too/winter, /too/spring) is unchanged server-side — both routes already accept any ToO type via wintertoo's AllTooClasses union — so submit_too/submit_too_spring/submit_too_summer needed no changes here.
  • Added instrument: Literal["winter", "spring"] = "winter" to query_images, its four query_images_by_* wrappers, and download_image_list, threaded straight through as a request query param. Every default is "winter", so all existing callers are unaffected.
  • Also includes the pending pyproject.toml version bump (1.6.0 → 1.7.0) to match winterwebapi's v1.7 release. Local notebook diffs (stale execution-output churn — server URL, email, Python version from local runs) are intentionally excluded from this PR.

Test plan

  • black/isort clean on winterapi/messenger.py.
  • Confirmed all six image methods (query_images, the four query_images_by_* wrappers, download_image_list) expose instrument: Literal["winter","spring"] = "winter".
  • Verified end-to-end (mocking requests.get, no network) that instrument="spring" is correctly sent as a query parameter in the outgoing request.
  • Not run against a live server — worth a smoke test against a real deployed winterwebapi before merge.

🤖 Generated with Claude Code

robertdstein and others added 3 commits September 2, 2026 13:11
winterwebapi's image endpoints now take an instrument=winter|spring
query parameter instead of separate /images/spring/... routes; the
/too/winter and /too/spring routes are unchanged (both already accept
any ToO type via wintertoo's AllTooClasses union, so ToO submission
needed no client-side changes).

Added instrument: Literal["winter", "spring"] = "winter" to
query_images, its four query_images_by_* wrappers, and
download_image_list, threaded straight through as a request query
param. Every default is "winter", so all existing callers (including
the example notebooks and tests/test_schedule.py) are unaffected.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@robertdstein
robertdstein enabled auto-merge (squash) September 10, 2026 01:35
@robertdstein
robertdstein enabled auto-merge (squash) September 10, 2026 02:14
@robertdstein
robertdstein merged commit b004758 into main Sep 10, 2026
12 checks passed
@robertdstein
robertdstein deleted the v1.7 branch September 10, 2026 02:19
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