DOI-USGS / DOI-USGS/dataretrieval-python

Publish a horizon for Samples keyword aliases

Open
#409 0 comments 0 reactions 0 assignees View on GitHub
ready-for-agent
Dominant language
Python
Stars
265
Forks
63
Avg merge
1d 20h
Merged PRs (30d)
19

Description

## What to build

Give the deprecated Samples camelCase keyword aliases one published removal horizon through the package's shared deprecation mechanism. The aliases were introduced on 2026-08-07; use 2027-08-07, matching the repository's one-year horizon convention.

Both Samples getters must read that date from the central removal table and continue accepting and translating every legacy keyword exactly as they do now. This ticket schedules the aliases; it does not remove them or change their wire spellings.

## Acceptance criteria

- [ ] The central removal table contains one Samples-scoped horizon of 2027-08-07.
- [ ] Both Samples legacy-keyword shims emit advisories that name the usable replacement and print that horizon.
- [ ] No Samples deprecation still says only "in a future release."
- [ ] Tests obtain the expected horizon from the central table rather than duplicating the date literal.
- [ ] Every camelCase alias remains accepted and produces the same request as its snake_case replacement.
- [ ] Public signatures, parameter mappings, and Samples wire names are unchanged.
- [ ] The full offline suite and coverage gate pass.

## Blocked by

None — can start immediately.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.