Skip to main content
Parmana HTTP Transport. Canonical HTTP transport implementation for the Parmana Python SDK.

HttpTransport Objects

Canonical HTTP transport.

Responsibilities

  • Send HTTP requests over a reused connection pool
  • Retry idempotent (GET) requests with backoff
  • Parse Runtime responses
  • Raise structured SDK exceptions for non-2xx responses
  • Decode Runtime responses into Parmana models

endpoint

Parmana Runtime endpoint.

send

Send a request to the Parmana Runtime. non_throwing_statuses lists status codes that must be returned as an ordinary payload instead of raising, because this specific route’s response body at that specific status is not the shared {error, code?} envelope. Today exactly one route needs this: see PolicyApi.validate.