from typing import Dict
from typing import Any


def get_field(data: Dict[str, Dict[str, Any]], key: str) -> Any:
    """
    Get a field from nested dictionary, with the field denoted with dot-separated keys.

    For example, "a.b.c" -> data['a']['b']['c']
    """

    keys = key.split(".")

    while keys:
        data = data[keys.pop(0)]

    return data