def extend_fields(cls, bases):
        new_fields = cls._meta.local_fields
        field_names = {f.attname: f for f in new_fields}

        for base in bases:
            if not isinstance(base, FieldsClassTypeMeta):
                continue

            parent_fields = base._meta.local_fields
            for field in parent_fields:
                if field_names in field.attname and field.type.__class__ != field_names[
                        field.attname].type.__class__:
                    raise Exception(
                        'Local field %r in class %r (%r) clashes '
                        'with field with similar name from '
                        'Interface %s (%r)' % (
                            field.attname,
                            cls.__name__,
                            field.__class__,
                            base.__name__,
                            field_names[field.attname].__class__)
                    )
                new_field = copy.copy(field)
                cls.add_to_class(field.attname, new_field)
dataset/ETHPy150Open graphql-python/graphene/graphene/core/classtypes/base.py/FieldsClassTypeMeta.extend_fields/swapped operands of `in`