from typing import Type
from enum import Enum


def _readable_enums(enum: Type[Enum]) -> str:
    """
    Returns a list of all possible values in `enum`.
    Since VapourSynth imported enums don't carry the correct module name, use a special case for them.
    """
    if 'importlib' in enum.__module__:
        return ', '.join([f'<vapoursynth.{i.name}: {i.value}>' for i in enum])
    else:
        return ', '.join([repr(i) for i in enum])