from typing import Dict


def serialize(name: str, engine: str) -> Dict:
    """Get dictionary serialization for a dataset locator.

    Parameters
    ----------
    name: string
        Unique dataset name.
    engine: string
        Unique identifier of the database engine (API).

    Returns
    -------
    dict
    """
    return {'name': name, 'database': engine}