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 ScopedContext: (source)
Undocumented
| Class Method | get |
Retrieve the current active scope. |
| Class Method | reset |
Reset the active scope to a previous state. |
| Class Method | set |
Set the current active scope. |
| Class Variable | _active |
Undocumented |
Reset the active scope to a previous state.
| Parameters | |
token:contextvars.Token | The token representing the previous state to restore. |
| Returns | |
None | This method does not return a value. |
Set the current active scope.
| Parameters | |
scope:object | The scope object to set as the current active scope. |
| Returns | |
contextvars.Token | A token representing the previous state of the context variable. |