aistore.sdk.request_executor
aistore.sdk.request_executor
Module Contents
Classes
API
Executes HTTP requests without retry wrapping against a configured AIS endpoint over a
provided SessionManager.
Parameters:
Fully-qualified endpoint URL including the API
version prefix (e.g. https://proxy/v1).
Shared per-process session pool.
Bearer token added as the Authorization header when set.
Request timeout in seconds; a single float. for both connect/read timeouts (e.g., 5.0), a tuple for separate connect/read timeouts (e.g., (3.0, 10.0)), or None to disable timeout.
Configured endpoint base URL (already including /v1).
Shared SessionManager used to acquire the per-process session.
Default request timeout applied when caller does not override.
Current bearer token.
Send method to <base_url>/<path>.
Parameters:
HTTP method (GET, POST, …).
Path appended to base_url (leading slash optional).
Caller-supplied headers; the AIS default Content-Type, User-Agent and Authorization headers are merged on top and will override.
Additional kwargs forwarded to requests.Session.request
(params, data, json, stream, timeout, …).
Send method to an absolute url (skip the base_url join).
Used by callers that have already resolved the full URL (e.g. the
manual HTTPS redirect path in RequestClient, or a one-shot endpoint
override).