Commit a2c93bf
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 466f5f6 commit a2c93bf
1 file changed
Lines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1483 | 1483 | | |
1484 | 1484 | | |
1485 | 1485 | | |
1486 | | - | |
| 1486 | + | |
1487 | 1487 | | |
1488 | 1488 | | |
1489 | 1489 | | |
| |||
1526 | 1526 | | |
1527 | 1527 | | |
1528 | 1528 | | |
1529 | | - | |
1530 | | - | |
1531 | | - | |
| 1529 | + | |
| 1530 | + | |
| 1531 | + | |
| 1532 | + | |
1532 | 1533 | | |
1533 | 1534 | | |
1534 | 1535 | | |
| |||
0 commit comments