from typing import Dict
from typing import Tuple


def get_conversion_endpoints(options: Dict) -> Tuple[str, str, Dict]:
    """Returns conversion direction with endpoints
    (Text to DNA) or (DNA to Text)."""
    _from, _to = "TEXT", "DNA"
    if options["convert_to"] == "DNA":
        _from, _to = "TEXT", "DNA"
    elif options["convert_to"] == "TEXT":
        _from, _to = "DNA", "TEXT"
    options["convert_from"] = _from
    return _from, _to, options