]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- worked it out so that classes declare a nested class "event",
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 24 Jul 2010 21:55:06 +0000 (17:55 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 24 Jul 2010 21:55:06 +0000 (17:55 -0400)
commit693e2dcacf7c6317c131ad11fcc0466e6c9164b8
treef807bae733831f9b09fc59447b8ffabd022d7a66
parent8a7ae371535342bb35491d59aaa1131ba7c435fa
- worked it out so that classes declare a nested class "event",
with methods representing events.  This is self-documenting via sphinx.
- implemented new model for pool, classmanager.   Most events are
one or two args, so going back to allowing any kind of *arg, **kw
signature for events - this is simpler and improves performance,
though we don't get the "we can add new kw's anytime".  perhaps
there's some other way to approach that.
13 files changed:
doc/build/reference/sqlalchemy/index.rst
doc/build/reference/sqlalchemy/interfaces.rst
doc/build/reference/sqlalchemy/pooling.rst
lib/sqlalchemy/engine/base.py
lib/sqlalchemy/engine/strategies.py
lib/sqlalchemy/event.py
lib/sqlalchemy/interfaces.py
lib/sqlalchemy/orm/attributes.py
lib/sqlalchemy/orm/mapper.py
lib/sqlalchemy/orm/state.py
lib/sqlalchemy/pool.py
lib/sqlalchemy/util.py
test/orm/test_instrumentation.py