This repository was archived by the owner on Mar 28, 2019. It is now read-only.
Tags: jbasko/runtime-context
Tags
* Allow multiple independent context stacks per thread * Renames RuntimeContext to RuntimeContextWrapper * Each stack item is aware of its wrapper and is able to pop itself * Push base context on initialisation for every wrapper so that one is always inside a context * Adds push_context and pop_context methods on RuntimeContextWrapper to simplify access when "with" syntax is not convenient * Bump version: 2.0.0 → 3.0.0
* Backwards incompatible rename of context_var_updated to context_var… …_set -- also, it is no longer triggered on context exit * New event context_var_reset which is triggered on context exit * Adds individual context var reset method and delattr functionality on both RuntimeContext and EnvBase * Bump version: 1.3.0 → 2.0.0
* Allow listening to context var updates via Env.context_var_updated … …hook * RuntimeContext.context_entered and RuntimeContext.context_exited event handlers now get context_vars instead of rather pointless runtime_context reference * Bump version: 1.0.0 → 1.1.0
PreviousNext