### Using copy_context() with call_soon() Source: https://pypi.org/project/aiocontextvars/0.2.2 In Python 3.7+, call_soon() and its family methods accept a 'context' keyword argument. For older versions or when using aiocontextvars, you need to explicitly use copy_context().run() to achieve the same context inheritance. ```python loop.call_soon(copy_context().run, my_meth) ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.