]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- apply the pyflakes stick to strategies.py. In particular, try
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 22 Jan 2012 21:49:08 +0000 (16:49 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 22 Jan 2012 21:49:08 +0000 (16:49 -0500)
commit97ae13af0aff5caefb069f9dab93372d34865e92
tree63b836b8599e69b46f51e80e6250d03d69822623
parentbd87e2c455944c93cd2ee881f714fcb7b231bcac
- apply the pyflakes stick to strategies.py.  In particular, try
to get almost every method to be less than 50 lines.   For the relationship
loaders this meant finding some decent boundaries to split things up.
I find this style a bit unnatural as in some cases we are just doing
three things with a handful of variables, why shuffle them between
three methods that are entirely dependent on each other, but not
sure what other option there is for a long list of steps like
subquery loading.
Also renamed all the "loader callables" to something descriptive,
might help when they come up in stack traces.
lib/sqlalchemy/orm/strategies.py