Commit 96f5771
Address /simplify findings on get_peaks
The OGC peaks queryables endpoint declares peak_since as `integer`,
but the wrapper typed it `str | list[str]` and the docstring offered
a fabricated string example ("site establishment"). Verified against
the live queryables: peak_since, water_year, year, month, day are
all integer-typed.
Re-typed peak_since to int | list[int] | None and rewrote the
docstring entry to describe the actual semantics (the year since
which the peak has stood as a record).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 73de065 commit 96f5771
1 file changed
Lines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1772 | 1772 | | |
1773 | 1773 | | |
1774 | 1774 | | |
1775 | | - | |
| 1775 | + | |
1776 | 1776 | | |
1777 | 1777 | | |
1778 | 1778 | | |
| |||
1815 | 1815 | | |
1816 | 1816 | | |
1817 | 1817 | | |
1818 | | - | |
1819 | | - | |
1820 | | - | |
| 1818 | + | |
| 1819 | + | |
| 1820 | + | |
| 1821 | + | |
1821 | 1822 | | |
1822 | 1823 | | |
1823 | 1824 | | |
| |||
0 commit comments