]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- SchemaItem, SchemaType now descend from common type
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 31 Jan 2011 01:29:48 +0000 (20:29 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 31 Jan 2011 01:29:48 +0000 (20:29 -0500)
commit12073e281eebdece0fe4e24c6704d57eafdc9247
tree1c831d73551c5a2e490bae41af390bd44d6391b5
parent41d222b5f85d81c3cb7c33be284b9b5507463cb2
- SchemaItem, SchemaType now descend from common type
SchemaEventTarget, which supplies dispatch
- the dispatch now provides before_parent_attach(),
after_parent_attach(), events which generally bound the _set_parent()
event. [ticket:2037]
- the _on_table_attach mechanism now usually uses the
event dispatch
- fixed class-level event dispatch to propagate to all subclasses, not just
immediate subclasses
- fixed class-level event unpickling to handle more involved
inheritance hierarchies, needed by the new schema event dispatch.
- ForeignKeyConstraint doesn't re-call the column attach event
on ForeignKey objects that are already associated with the correct
Column
- we still need that ImportError on mysqldb CLIENT FLAGS to support
mock DBAPIs
doc/build/core/events.rst
doc/build/core/schema.rst
lib/sqlalchemy/connectors/mysqldb.py
lib/sqlalchemy/event.py
lib/sqlalchemy/events.py
lib/sqlalchemy/schema.py
lib/sqlalchemy/types.py
test/aaa_profiling/test_zoomark.py
test/aaa_profiling/test_zoomark_orm.py
test/sql/test_metadata.py