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.
module documentation
Coordinate cache access through local locks or distributed leases.
| Class | |
Coordinate cache access through local locks or distributed leases. |
| Function | _is |
Check backend identity without importing an unused store. |
| Constant | _DEFAULT |
Default lease applied when no timeout is given, matching the Redis branch. |
| Constant | _FILE |
Share active file-cache locks within each event loop and storage directory. |
| Constant | _POLL |
Delay between acquisition attempts while polling the database backend. |
Check backend identity without importing an unused store.
| Parameters | |
backend:object | Backend instance, including subclasses of built-in stores. |
modulestr | Defining module already loaded when its backend instance exists. |
classstr | Backend class exported by the defining module. |
| Returns | |
bool | Whether the instance belongs to the loaded backend class. |
_FILE_LOCKS:
WeakValueDictionary[ tuple[ asyncio.AbstractEventLoop, Path, str], asyncio.Lock] =
(source)
¶
Share active file-cache locks within each event loop and storage directory.
| Value |
|