diff --git a/requirements.txt b/requirements.txt index 83d7609..24f4f91 100644 --- a/requirements.txt +++ b/requirements.txt @@ -153,8 +153,8 @@ coverage==4.3.4 \ --hash=sha256:6c9bd3924052151b1a4f157d860f57d17708962deb4258739ae406d9376da77d \ --hash=sha256:9ddd809ce195ec60aec6d8dacec433b1ac55f6076f773253208dd35dfd9b59bc \ --hash=sha256:0962e9764e44172a72fa6e486aeb87d714f7018619ff41eb7c67b03fc53d122a -mozilla-taar3==0.0.23 \ - --hash=sha256:5f6af63bf8a0a89aff4819e6df01b5d95dd348d14230c657cae48e20185971ec +mozilla-taar3==0.0.24 \ + --hash=sha256:b9797840a90589dcf2c56d467e72f33dced5b1173256e931bc8a8fe4bd75f967 numpy==1.13.1 \ --hash=sha256:c9b0283776085cb2804efff73e9955ca279ba4edafd58d3ead70b61d209c4fbb thriftpy==0.3.9 \ diff --git a/taar_api/api/views.py b/taar_api/api/views.py index 0ae5c86..c98da07 100644 --- a/taar_api/api/views.py +++ b/taar_api/api/views.py @@ -5,7 +5,6 @@ from taar import recommenders from taar.context import default_context from taar.profile_fetcher import ProfileFetcher from taar import ProfileController -from taar.recommender import utils # Cache the recommendation manager for 24hrs (in seconds). VALID_BRANCHES = set(['linear', 'ensemble', 'control']) @@ -53,7 +52,6 @@ def recommendations(request, client_id): table_name=settings.DYNAMO_TABLE_NAME) profile_fetcher = ProfileFetcher(dynamo_client) - ctx['utils'] = utils # This is required for S3 access ctx['profile_fetcher'] = profile_fetcher # Lock the context down after we've got basic bits installed