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 CacheProvider(ServiceProvider, DeferrableProvider): (source)
Constructor: CacheProvider(app)
Service provider for the Orionis cache system.
Binds ICacheManager to CacheManager as a singleton
and pins the Cache facade so that attribute access is direct
without container resolution overhead on every call.
| Class Method | provides |
Return the services registered by this provider. |
| Async Method | boot |
Pin the Cache facade after all services are registered. |
| Method | register |
Bind ICacheManager to CacheManager as a singleton. |
Inherited from ServiceProvider:
| Method | __init__ |
Initialize a new ServiceProvider instance with the given application container. |
| Instance Variable | app |
Undocumented |