THE ORIONIS API
Build with clarity.
Explore the building blocks of an async-first Python framework. Every module, class, and method — connected, searchable, and ready to build with.
class documentation
class HttpClientConfig(BaseEntity): (source)
Constructor: HttpClientConfig(**kwargs)
Validate the application policy before any outbound connection can open.
Named integrations inherit limits from this application policy.
| Method | __post |
Normalize independent, serializable origins and connection profiles. |
| Method | _normalize |
Copy one profile and validate its policy against the global ceilings. |
| Class Variable | allowed |
List the exact HTTPS origins authorized for outbound requests. |
| Class Variable | clients |
Define named integrations and their operation limits. |
| Class Variable | connect |
Set the maximum connection timeout in seconds. |
| Class Variable | deadline |
Limit the entire operation to this number of seconds. |
| Class Variable | keepalive |
Limit how long an idle connection may be reused, in seconds. |
| Class Variable | max |
Limit the number of connections per event loop. |
| Class Variable | max |
Limit the number of active operations per event loop. |
| Class Variable | max |
Limit the number of idle connections retained in the pool. |
| Class Variable | max |
Limit the number of operations waiting for admission. |
| Class Variable | max |
Limit the encoded request body size in bytes. |
| Class Variable | max |
Limit the buffered response body size in bytes. |
| Class Variable | pool |
Limit how long an operation can wait for a connection, in seconds. |
| Class Variable | read |
Set the maximum read inactivity in seconds. |
| Class Variable | write |
Set the maximum write inactivity in seconds. |
Inherited from BaseEntity:
| Class Method | _cached |
Retrieve field definitions and normalized types cached by class. |
| Method | __init__ |
Initialize declared fields and public extra attributes. |
| Method | _dynamic |
Return public instance attributes that are not declared fields. |
| Method | _validate |
Validate names and storage for public extra attributes. |
| Method | get |
Describe declared fields and, optionally, dynamic attributes. |
| Method | to |
Return a recursively copied dictionary of declared and extra values. |
| Class Variable | __slots__ |
Declare that this class introduces no additional instance slots. |
| Class Variable | _orionis |
Cache declared fields and normalized type names for each concrete class. |
Normalize independent, serializable origins and connection profiles.
| Returns | |
None | Retain policy values owned by this configuration instance. |
| Raises | |
HttpConfigurationException | If any field or profile violates the outbound policy. |