Skip to content

athena-client 1.0.33

Latest

Choose a tag to compare

@aandresalvarez aandresalvarez released this 17 Feb 19:44
· 9 commits to main since this release

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.
  • Improved API retry behavior for transient conditions across search and detail/relations/graph calls.
  • Updated event-loop safety for generate_concept_set wrapper paths to avoid nested asyncio issues.
  • 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-set by 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"