def METHOD_NAME(request):
    """
    Get extension instances that are requested by the given request
    :param request: rest_framework.requests.Request
    :rtype: list[events.extensions.EventExtension]
    """
    if hasattr(request, "_event_extensions"):  # Sneaky cache
        return request._event_extensions
    extension_ids = _get_extension_ids_from_param(
        request.query_params.get("extensions")
    )
    if not extension_ids and request.method in ("POST", "PUT", "PATCH"):
        try:
            extension_ids = _get_extension_ids_from_param(
                request.data.get("extensions")
            )
        except (AttributeError, KeyError):
            pass
    extension_ids |= set(getattr(settings, "AUTO_ENABLED_EXTENSIONS", []))
    extensions = set(ex() for ex in get_extensions() if ex.identifier in extension_ids)
    request._event_extensions = extensions
    return extensions