@classmethod
    def get_scope_models(cls, types):
        for model in cls.scope_models:
            if types in model._meta.model_name:
                try:
                    for submodel in model.get_all_models():
                        yield submodel
                except AttributeError:
                    yield model
dataset/ETHPy150Open opennode/nodeconductor/nodeconductor/structure/filters.py/ScopeTypeFilterBackend.get_scope_models/swapped operands of `in`