from typing import Type
from enum import Enum
from typing import List


def enum_to_key_list(enum: Type[Enum]) -> List[str]:
    """Convert enum to list of keys."""

    return [item.name for item in enum]