def METHOD_NAME(request: Request, deprecation_date: datetime):
    # TODO: Better way to track requests on deprecated endpoints
    # indicate the request is on a deprecated endpoint
    request.is_deprecated = True
    request.deprecation_date = deprecation_date