from typing import List
from typing import Callable


def delete(route: str, additional_methods: List[str]=[]) -> Callable:
    """
    States that a function will be executed when a DELETE request
    is sent to the server.
    """

    return lambda func: (route, 'DELETE', func, additional_methods)