class documentation

class eq_type_affinity(object):

View In Hierarchy

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,
        },
    ],
)
Method __eq__ Undocumented
Method __init__ Undocumented
Method __ne__ Undocumented
Instance Variable target Undocumented
def __eq__(self, other):

Undocumented

def __init__(self, target):

Undocumented

def __ne__(self, other):

Undocumented

target =

Undocumented