Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Mnexa-AI/e2a
/ _api_exc
Function
_api_exc
sdks/python/tests/test_v1_retry.py:28–31 ·
view source on GitHub ↗
(status, headers=None)
Source
from the content-addressed store, hash-verified
26
27
28
def
_api_exc(status, headers=None):
29
e = ApiException(status=status, body=
"{}"
)
30
e.headers = headers
31
return
e
32
33
34
def
cfg(**kw):
Callers
9
test_retries_500_then_returns_200
Function · 0.85
test_no_retry_on_404
Function · 0.85
test_stops_after_max_retries
Function · 0.85
test_unsafe_write_is_not_retried
Function · 0.85
test_mints_idempotency_key_once_and_reuses_it
Function · 0.85
test_caller_supplied_key_wins
Function · 0.85
test_retry_after_header_drives_backoff
Function · 0.85
test_retry_after_clamped_to_ceiling
Function · 0.85
test_total_deadline_stops_before_retry
Function · 0.85
Calls
1
ApiException
Class · 0.90
Tested by
no test coverage detected