Skip to content

feat: Add async client support with httpx#175

Merged
islameldigwi merged 8 commits into
mainfrom
async
Jan 29, 2026
Merged

feat: Add async client support with httpx#175
islameldigwi merged 8 commits into
mainfrom
async

Conversation

@islameldigwi

Copy link
Copy Markdown
Contributor

Implements comprehensive async support for the Axiom Python client:

  • AsyncClient with httpx for concurrent operations
  • Async versions of all major components (datasets, annotations, tokens, users)
  • Async logging handlers for stdlib and structlog
  • Examples and documentation for async usage
  • Test suite for async functionality

islameldigwi and others added 5 commits January 8, 2026 19:38
Implements comprehensive async support for the Axiom Python client:
- AsyncClient with httpx for concurrent operations
- Async versions of all major components (datasets, annotations, tokens, users)
- Async logging handlers for stdlib and structlog
- Examples and documentation for async usage
- Test suite for async functionality

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Remove unused `results` variable in examples/async_concurrent.py
- Remove unused `__version__` import in client_async.py
- Add noqa comments for intentional test imports in test_imports.py
- Remove unused ContentType and ContentEncoding imports in test_client_async.py

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add required QueryStatus fields (elapsedTime, blocksExamined, etc.)
- Add required buckets.series field in query responses
- Add required Entry fields (_sysTime, _rowId, data) in matches
- Remove test_retry_on_error from datasets tests (datasets client
  doesn't implement retry - only the main client does)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@islameldigwi islameldigwi marked this pull request as ready for review January 29, 2026 13:27

@thecraftman thecraftman left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!!!

@islameldigwi islameldigwi merged commit 6b57887 into main Jan 29, 2026
7 checks passed
@islameldigwi islameldigwi deleted the async branch January 29, 2026 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants