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 McpConfig(BaseEntity): (source)
Bound MCP work and explicitly allow trusted HTTP browser origins.
An absent Origin is accepted by the transport. An empty allowed_origins rejects every present Origin; there is no wildcard or implicit same-origin exception. Each allowed entry is a serialized HTTP(S) origin.
| Method | __post |
Reject coercion, unbounded budgets, and ambiguous origin allowlists. |
| Class Variable | allowed |
Undocumented |
| Class Variable | default |
Undocumented |
| Class Variable | max |
Undocumented |
| Class Variable | max |
Undocumented |
| Class Variable | max |
Undocumented |
| Class Variable | max |
Undocumented |
| Class Variable | max |
Undocumented |
| Class Variable | max |
Undocumented |
| Class Variable | max |
Undocumented |
| Class Variable | subscription |
Undocumented |
| Class Variable | subscription |
Undocumented |
| Class Variable | tool |
Undocumented |
| Class Variable | tool |
Undocumented |
| Class Variable | tool |
Undocumented |
Inherited from BaseEntity:
| Class Method | _cached |
Retrieve field definitions and normalized types cached by class. |
| Method | get |
Describe field names, normalized types, defaults, and metadata. |
| Method | to |
Convert the dataclass instance to a recursively copied dictionary. |
| Class Variable | __slots__ |
Undocumented |
Reject coercion, unbounded budgets, and ambiguous origin allowlists.
| Returns | |
None | Retain validated immutable configuration. |
| Raises | |
TypeError | If a budget, duration, or origin has an incompatible type. |
ValueError | If a budget or duration is invalid, or an origin is malformed. |