def unset_olm_operator(self, operator_name):
    log.info(f'Unsetting {operator_name} for cluster: {self.id}')
    cluster = self.api_client.cluster_get(self.id)
    olm_operators = []
    for operator in cluster.monitored_operators:
        if ((operator.name == operator_name) or (operator.operator_type == OperatorType.BUILTIN)):
            continue
        olm_operators.append({'name': operator.name, 'properties': operator.properties})
    self.api_client.update_cluster(self.id, {'olm_operators': olm_operators})
def unset_olm_operator(self, operator_name):
    log.info(f'Unsetting {operator_name} for cluster: {self.id}')
    cluster = self.api_client.cluster_get(self.id)
    olm_operators = []
    for operator in cluster.monitored_operators:
        if ((operator.name == operator_name) or (operator.operator_type == OperatorType.BUILTIN)):
            continue
        olm_operators.append({'name': operator.name, 'properties': operator.properties})
    self.api_client.update_cluster(self.id, {'olm_operators': olm_operators})