from typing import List
from typing import Tuple
from typing import Any
from typing import Dict


def non_none_dict(dikt: List[Tuple[str, Any]]) -> Dict[Any, Any]:
    """
    Return no `None` values in a Dict.

    This function may be used in the `asdict()` method as dictionary factory.

    Args:
        dikt: Tuple of values where

    Returns:
        dict of the keys and values if value is not None

    """
    return {k: v for k, v in dikt if v is not None}