@staticmethod
    def get_extends(obj_class):
        parents = [parent for parent in obj_class.__mro__ if {'IonObjectBase', 'object', obj_class.__name__} not in parent.__name__]
        return parents
dataset/ETHPy150Open ooici/pyon/pyon/core/interfaces/objgen.py/ObjectGenerator.get_extends/swapped operands of `not in`