diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2010-07-24 17:55:06 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2010-07-24 17:55:06 -0400 |
commit | 693e2dcacf7c6317c131ad11fcc0466e6c9164b8 (patch) | |
tree | f807bae733831f9b09fc59447b8ffabd022d7a66 /lib/sqlalchemy/util.py | |
parent | 8a7ae371535342bb35491d59aaa1131ba7c435fa (diff) | |
download | sqlalchemy-693e2dcacf7c6317c131ad11fcc0466e6c9164b8.tar.gz |
- 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.
Diffstat (limited to 'lib/sqlalchemy/util.py')
-rw-r--r-- | lib/sqlalchemy/util.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/sqlalchemy/util.py b/lib/sqlalchemy/util.py index 73e2533ce..ae45e1703 100644 --- a/lib/sqlalchemy/util.py +++ b/lib/sqlalchemy/util.py @@ -636,11 +636,6 @@ def assert_arg_type(arg, argtype, name): "Argument '%s' is expected to be of type '%s', got '%s'" % (name, argtype, type(arg))) -def adapt_kw_to_positional(fn, *args): - def call(**kw): - return fn(*[kw[a] for a in args]) - return call - _creation_order = 1 def set_creation_order(instance): """Assign a '_creation_order' sequence to the given instance. |