Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,4 +91,4 @@ jobs:
${{ runner.os }}-uv-py${{ matrix.python-version }}-

- name: Run tests
run: uv run --python "${{ matrix.python-version }}" pytest -rs --no-cov
run: uv run --python "${{ matrix.python-version }}" --extra async pytest -rs --no-cov
14 changes: 14 additions & 0 deletions amazon_creatorsapi/aio/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
"""Async support for Amazon Creators API."""

try:
import httpx # noqa: F401
except ImportError as exc: # pragma: no cover
msg = (
"httpx is required for async support. "
"Install with: pip install python-amazon-paapi[async]"
)
raise ImportError(msg) from exc

from amazon_creatorsapi.aio.api import AsyncAmazonCreatorsApi

__all__ = ["AsyncAmazonCreatorsApi"]
Loading
Loading