Skip to content

Commit 46cb9e8

Browse files
Update dataretrieval/samples.py
Co-authored-by: Timothy Hodson <34148978+thodson-usgs@users.noreply.github.com>
1 parent f4b7dc7 commit 46cb9e8

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

dataretrieval/samples.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,11 @@ def get_usgs_samples(
207207
208208
"""
209209

210-
warnings.warn("The `get_usgs_samples` function is moving from" \
210+
warnings.warn(
211+
"`get_usgs_samples` is deprecated and will be removed. Use `waterdata.get_samples` instead.",
212+
DeprecationWarning,
213+
stacklevel=2,
214+
)
211215
" the samples module to the new waterdata module, where" \
212216
" it will be called simply `get_samples`. All of the same" \
213217
" functionality will be retained. The samples module is" \

0 commit comments

Comments
 (0)