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 _DepthBucket: (source)
Constructor: _DepthBucket(pattern, entries, marker_to_entry)
Undocumented
| Method | __init__ |
Store matching and parameter extraction metadata for dynamic routes. |
| Class Variable | __slots__ |
Undocumented |
| Instance Variable | entries |
Undocumented |
| Instance Variable | marker |
Undocumented |
| Instance Variable | pattern |
Undocumented |
def __init__(self, pattern:
re.Pattern[ str], entries: list[ BucketEntry], marker_to_entry: dict[ int, int] | None = None):
(source)
¶
Store matching and parameter extraction metadata for dynamic routes.
| Parameters | |
pattern:re.Pattern[str] | Compiled regex for the bucket's dynamic route candidates. |
entries:list[BucketEntry] | Extraction metadata and route pairs aligned with regex alternatives. |
markerdict[int, int] | None, optional | Map of terminal capture group IDs to entry indices, or None for a single-route bucket. Defaults to None. |
| Returns | |
None | Initialize the matcher, ordered entries, and optional marker lookup. |