def METHOD_NAME(self, config: Mapping[str, Any], amount_of_days_allowed_for_lookup: int = 89):
    config = copy.deepcopy(config)
    today = pendulum.today()
    latest_date_allowed_by_api = today.subtract(days=amount_of_days_allowed_for_lookup)
    start_date = config["start_date"]
    if not start_date:
        config["start_date"] = latest_date_allowed_by_api
    else:
        try:
            config["start_date"] = pendulum.from_format(config["start_date"], "YYYY-MM-DD")
        except ValueError:
            message = "Entered `Start Date` does not match format YYYY-MM-DD"
            raise AirbyteTracedException(
                message=message,
                internal_message=message,
                failure_type=FailureType.config_error,
            )
        if (today - config["start_date"]).days > amount_of_days_allowed_for_lookup:
            config["start_date"] = latest_date_allowed_by_api
    return config