def METHOD_NAME(
    *, filter: Optional[str] = None, top: Optional[int] = None, orderby: Optional[str] = None, **kwargs: Any
) -> HttpRequest:
    _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {})
    _params = case_insensitive_dict(kwargs.pop("params", {}) or {})
    accept = _headers.pop("Accept", "application/json")
    # Construct URL
    _url = kwargs.pop("template_url", "/azurespecials/odata/filter")
    # Construct parameters
    if filter is not None:
        _params["$filter"] = _SERIALIZER.query("filter", filter, "str")
    if top is not None:
        _params["$top"] = _SERIALIZER.query("top", top, "int")
    if orderby is not None:
        _params["$orderby"] = _SERIALIZER.query("orderby", orderby, "str")
    # Construct headers
    _headers["Accept"] = _SERIALIZER.header("accept", accept, "str")
    return HttpRequest(method="GET", url=_url, params=_params, headers=_headers, **kwargs)