import datetime

import requests

from . import models


def string_to_date(s):
    return datetime.datetime.strptime(s, '%Y%m%d').date()


BASE_URL_TEMPLATE = 'http://204.65.203.5/public/{report_id}noadd.csv'


def fetch_raw_report(report_id):
    return requests.get(BASE_URL_TEMPLATE.format(report_id=report_id))


def get_report(report_id):
    raw_report = fetch_raw_report(report_id)
    return models.Report(raw_report=raw_report)

@@ -1,21 +1,4 @@
-import datetime%0A%0A
 impo
@@ -37,91 +37,8 @@
 s%0A%0A%0A
-def string_to_date(s):%0A    return datetime.datetime.strptime(s, '%25Y%25m%25d').date()%0A%0A%0A
 BASE

Remove unused/dead code