sendbyte 0.2.0__tar.gz → 0.2.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {sendbyte-0.2.0/sendbyte.egg-info → sendbyte-0.2.1}/PKG-INFO +1 -1
- {sendbyte-0.2.0 → sendbyte-0.2.1}/pyproject.toml +1 -1
- {sendbyte-0.2.0 → sendbyte-0.2.1}/sendbyte/__init__.py +5 -3
- {sendbyte-0.2.0 → sendbyte-0.2.1/sendbyte.egg-info}/PKG-INFO +1 -1
- {sendbyte-0.2.0 → sendbyte-0.2.1}/LICENSE +0 -0
- {sendbyte-0.2.0 → sendbyte-0.2.1}/README.md +0 -0
- {sendbyte-0.2.0 → sendbyte-0.2.1}/sendbyte/py.typed +0 -0
- {sendbyte-0.2.0 → sendbyte-0.2.1}/sendbyte.egg-info/SOURCES.txt +0 -0
- {sendbyte-0.2.0 → sendbyte-0.2.1}/sendbyte.egg-info/dependency_links.txt +0 -0
- {sendbyte-0.2.0 → sendbyte-0.2.1}/sendbyte.egg-info/top_level.txt +0 -0
- {sendbyte-0.2.0 → sendbyte-0.2.1}/setup.cfg +0 -0
- {sendbyte-0.2.0 → sendbyte-0.2.1}/tests/test_sdk.py +0 -0
|
@@ -353,9 +353,11 @@ class SendByte:
|
|
|
353
353
|
|
|
354
354
|
Retries 429 and 5xx responses (and network errors) with exponential
|
|
355
355
|
backoff plus jitter, honoring Retry-After, up to ``max_attempts``. Each
|
|
356
|
-
attempt is bounded by ``timeout`` seconds
|
|
357
|
-
|
|
358
|
-
|
|
356
|
+
attempt by the built-in transport is bounded by ``timeout`` seconds; a
|
|
357
|
+
custom ``transport`` you inject is responsible for its own timeout (it keeps
|
|
358
|
+
the historical ``(method, url, headers, body)`` signature). On POST
|
|
359
|
+
/v1/emails an idempotency key is generated and reused across retries when the
|
|
360
|
+
caller did not supply one, so a retried send cannot double-send.
|
|
359
361
|
"""
|
|
360
362
|
|
|
361
363
|
def __init__(
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|