def update_condition(self, type, params):
    for i, condition in enumerate(self.conditions):
        condition_loaded = json.loads(condition)
if condition_loaded['type'] == type:
    condition_loaded['params'] = params
self.conditions[i] = json.dumps(condition_loaded)
Изменить значения списка при повторении его в Python?