from typing import Callable
from typing import Any


async def resolver_executor(resolver: Callable, *args, **kwargs) -> Any:
    """
    Wraos the execution of the raw resolver in order to pop the
    `context_coercer` keyword arguments to avoid exception.
    :param resolver: callable to wrap
    :type resolver: Callable
    :return: resolved value
    :rtype: Any
    """
    kwargs.pop("context_coercer", None)
    return await resolver(*args, **kwargs)