cx_oracle _Error.code to get at the code,
[ticket:2200]. Also in 0.6.9.
+-ext
+ - Fixed bug in the mutable extension whereby
+ if the same type were used twice in one
+ mapping, the attributes beyond the first
+ would not get instrumented.
+
- examples
- Repaired the examples/versioning test runner
to not rely upon SQLAlchemy test libs,
if hasattr(prop, 'columns'):
if isinstance(prop.columns[0].type, sqltype):
cls.associate_with_attribute(getattr(class_, prop.key))
- break
event.listen(mapper, 'mapper_configured', listen_for_type)
if hasattr(prop, 'columns'):
if prop.columns[0].type is sqltype:
cls.associate_with_attribute(getattr(class_, prop.key))
- break
event.listen(mapper, 'mapper_configured', listen_for_type)
def define_tables(cls, metadata):
MutationDict = cls._type_fixture()
+ mutable_pickle = MutationDict.as_mutable(PickleType)
Table('foo', metadata,
Column('id', Integer, primary_key=True, test_needs_autoincrement=True),
- Column('data', MutationDict.as_mutable(PickleType)),
+ Column('skip', mutable_pickle),
+ Column('data', mutable_pickle),
Column('non_mutable_data', PickleType)
)
Table('foo', metadata,
Column('id', Integer, primary_key=True, test_needs_autoincrement=True),
+ Column('skip', PickleType),
Column('data', PickleType)
)