from typing import List


def get_entity_attributes(entity: dict) -> List[str]:
    """Get a list with the attributes of the entity.

    Args:
        entity(:obj:`dict`): entity.

    Returns:
        list: containing the attributes.
    """
    keys = entity.keys()
    not_attributes = ["id", "type"]
    attributes = [attr for attr in keys if attr not in not_attributes]
    return attributes