@contextlib.contextmanager<EOL>def with_context(**kwargs):
_THREAD_LOCAL_CONTEXT.push(**kwargs)<EOL>try:<EOL><INDENT>yield<EOL><DEDENT>finally:<EOL><INDENT>_THREAD_LOCAL_CONTEXT.pop()<EOL><DEDENT>
Add given variables to the context