зеркало из https://github.com/mozilla/taar.git
Dropped verification of the branch which is now handled in the schema validation layer
This commit is contained in:
Родитель
b77bac2fbf
Коммит
a893fff709
|
@ -134,8 +134,6 @@ class RecommendationManager:
|
|||
branch_selector = extra_data.get('branch', INTERVENTION_CONTROL)
|
||||
branch_selector = branch_selector.replace('-', '_')
|
||||
|
||||
if branch_selector not in (INTERVENTION_CONTROL, INTERVENTION_A, INTERVENTION_B):
|
||||
return []
|
||||
branch_method = getattr(self, 'recommend_%s' % branch_selector)
|
||||
return branch_method(client_info, client_id, limit, extra_data)
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче