def execution_context_from_async(async):
    local_context = _local.get_local_context()

    if local_context._executing_async_context:
        raise errors.ContextExistsError

    execution_context = _ExecutionContext(async)
    local_context._executing_async_context = execution_context
    return execution_context
Instantiate a new _ExecutionContext and store a reference to it in the
dataset/ETHPy150Open Workiva/furious/furious/context/_execution.py/execution_context_from_async