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
Undocumented
| Method | __contains__ |
Check if the key exists in the query parameters. |
| Method | __getitem__ |
Retrieve the last value for a given key or raise KeyError. |
| Method | __init__ |
Initialize QueryParams with a query string. |
| Method | __iter__ |
Return an iterator over the key-value pairs. |
| Method | __len__ |
Return the number of key-value pairs. |
| Method | __repr__ |
Return the string representation of the QueryParams object. |
| Method | get |
Retrieve the last value for a given key. |
| Method | get |
Return every value for key in insertion order. |
| Method | get |
Alias for getAll(). |
| Method | items |
Return all key-value pairs as a list. |
| Method | keys |
Return all keys in the query parameters. |
| Method | multi |
Return all (key, value) pairs in insertion order. |
| Method | values |
Return all values in the query parameters. |
| Class Variable | __slots__ |
Undocumented |
| Instance Variable | _index |
Undocumented |
| Instance Variable | _items |
Undocumented |
Return the string representation of the QueryParams object.
| Returns | |
str | String representation of the QueryParams instance. |
Retrieve the last value for a given key.
| Parameters | |
key:str | The key to search for. |
default:str | None, optional | The value to return if the key is not found (default is None). |
| Returns | |
str | None | The last value associated with the key, or default if not found. |
Return every value for key in insertion order.
Unlike get(), which returns only the last occurrence, this method preserves all values so that repeated parameters such as ?tag=a&tag=b are handled without data loss.
| Parameters | |
key:str | The query parameter name to look up. |
| Returns | |
list[str] | All values for key in the order they appear in the query string. Returns an empty list when key is absent. |