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 View(BaseEntity): (source)
Represent view engine configuration for the application.
| Method | __post |
Validate template paths and cache settings without coercing values. |
| Instance Variable | auto |
Reload templates from disk whenever the source file changes. Typically True in development and False in production. |
| Instance Variable | autoescape |
Enable automatic HTML escaping of all template variables. |
| Instance Variable | cache |
Optional filesystem path used for Jinja2 bytecode caching. None disables disk-based caching. |
| Instance Variable | cache |
Maximum number of compiled templates kept in the LRU memory cache. A value of 0 disables the cache; -1 keeps templates without a limit. |
| Instance Variable | paths |
Ordered list of directory paths searched for templates. |
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 |
Validate template paths and cache settings without coercing values.
| Returns | |
None | This method performs validation and normalization and returns None. |
| Raises | |
TypeError | If any of the runner options are of an incorrect type. |
ValueError | If any of the runner options are invalid. |
Reload templates from disk whenever the source file changes. Typically True in development and False in production.