From 29038d882a6f575244a199594c67d3fcbe4d5f0c Mon Sep 17 00:00:00 2001 From: Salim Aboubacar Date: Wed, 15 Jul 2020 18:27:27 +0200 Subject: [PATCH] Remove experiment deprecated check --- mindsay_sdk/client.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/mindsay_sdk/client.py b/mindsay_sdk/client.py index 30f0547..1f2b4ce 100644 --- a/mindsay_sdk/client.py +++ b/mindsay_sdk/client.py @@ -132,8 +132,6 @@ def get_experiments(self) -> List[Dict[str, Any]]: def set_current_experiment(self, experiment_id: int) -> Dict[str, Any]: """Set the current experiment""" environment = self.get_current_environment() - if not environment["current_bot"]["can_use_experiments?"]: - raise ValueError("This bot cannot use experiments") response = self.post( "environment/set_current_experiment", json={"experiment_id": experiment_id} )