class_docstr: Helper to compare types inside of datastructures based on affinity.
  
  E.g.::
  
      eq_(
          inspect(connection).get_columns("foo"),
          [
              {
                  "name": "id",
                  "type": testing.eq_type_affinity(sqltypes.INTEGER),
                  "nullable": False,
                  "default": None,
                  "autoincrement": False,
              },
              {
                  "name": "data",
                  "type": testing.eq_type_affinity(sqltypes.NullType),
                  "nullable": True,
                  "default": None,
                  "autoincrement": False,
              },
          ],
      )
class_docstr_tok: ["Helper","to","compare","types","inside","of","datastructures","based","on","affinity",".","E.g",".",":",":","eq_","(","inspect","(","connection",")",".get_columns","(","``","foo","''",")",",","[","{","``","name","''",":","``","id","''",",","``","type","''",":","testing.eq_type_affinity","(","sqltypes.INTEGER",")",",","``","nullable","''",":","False",",","``","default","''",":","None",",","``","autoincrement","''",":","False",",","}",",","{","``","name","''",":","``","data","''",",","``","type","''",":","testing.eq_type_affinity","(","sqltypes.NullType",")",",","``","nullable","''",":","True",",","``","default","''",":","None",",","``","autoincrement","''",":","False",",","}",",","]",",",")"]
code: def __ne__(self, other):
      return self.target._type_affinity is not other._type_affinity
  
imports: from __future__ import annotations
  import sys
  from .None import config
  from .None import exclusions
  from ..None import event
  from ..None import schema
  from ..None import types
  from ..orm import mapped_column
  from ..util import OrderedDict
label_desc: Use image node_id 3 for calling the eq_type_affinity obj's underlying member method code with example usage: obj.__ne__(other) and returns: unknown