def get_title(document: dict) -> str:
    """
    Get the title of a document from a document with the same structure as the json in the COVID-19 dataset.

    Parameters
    ----------
    document: :class:`dict`
        A `dict` representing a document.

    Returns
    -------
    :class:`str`
        The title of the document.

    Examples
    --------

    >>> get_title(toy_covid_article)
    'Predator'
    """
    return document["metadata"]["title"]