You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mark attach_datetime_columns as private and add type hints
The helper is purely an internal post-processing step inside
get_samples / get_results — users have no reason to call it directly,
and dataretrieval/__init__.py's `from dataretrieval.utils import *`
was leaking it into the public API surface as
`dataretrieval.attach_datetime_columns`. Underscore-prefix it and
update the two call sites plus the unit tests.
Also annotate _attach_datetime_columns and _build_utc_datetime with
pd.DataFrame / pd.Series / pd.Series → pd.Series signatures, matching
the typing style already used in dataretrieval/waterdata/utils.py.
Addresses self-review of PR #272.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments