from typing import OrderedDict


def display(choices, value):
    """
    Get the display value for the selected choice. ie. get_FIELD_display()
    :type choices: dict|tuple
    :param choices: FIELD_CHOICE
    :param value: the value of the tuple
    :return: string
    """
    if not choices:
        return value

    if isinstance(choices, tuple):
        choices = OrderedDict(choices)

    return choices.get(value, value)