athena-client 1.0.33
This release improves reliability against Athena API responses and hardens the client behavior in edge cases.
What’s changed
Improvements
- Added resilient session bootstrap handling for Athena HTML 403 responses.
- The client now attempts to seed an Athena web session before retrying API calls when a 403 HTML response is received from
athena.ohdsi.org.
- The client now attempts to seed an Athena web session before retrying API calls when a 403 HTML response is received from
- Improved API retry behavior for transient conditions across search and detail/relations/graph calls.
- Updated event-loop safety for
generate_concept_setwrapper paths to avoid nestedasyncioissues. - Added stricter parsing/validation for model enums and cleaner handling of unknown shorthand values.
- Added tests for:
- HTML 403 bootstrap behavior
- Non-Athena host behavior on 403
- Schemaless base URL handling
- Search result limiting and CLI regression paths
Fixes
- Resolved compatibility issue in CLI-related test path for
generate-setby aligning module-level async import/usage. - Miscellaneous formatting/type-cleanup and request-header consistency updates for better runtime stability.
Validation
- Full test suite:
make test - Packaging consistency checks remain in place (version + release metadata aligned).
Install / upgrade
python -m pip install --upgrade "athena-client==1.0.33"
# or full extras:
python -m pip install --upgrade "athena-client[full]==1.0.33"