diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2006-10-22 00:24:26 +0000 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2006-10-22 00:24:26 +0000 |
| commit | bc240be3f87b41232671e4da7f59679744959154 (patch) | |
| tree | 4e978300d6e796f8a476b2e6ccf543ba2e9d881f /lib/sqlalchemy/orm/unitofwork.py | |
| parent | 97feb4dbeee3ef5bc50de667ec25a43d44a5ff2c (diff) | |
| download | sqlalchemy-bc240be3f87b41232671e4da7f59679744959154.tar.gz | |
- attributes module and test suite moves underneath 'orm' package
- fixed table comparison example in metadata.txt
- docstrings all over the place
- renamed mapper _getattrbycolumn/_setattrbycolumn to get_attr_by_column,set_attr_by_column
- removed frommapper parameter from populate_instance(). the two operations can be performed separately
- fix to examples/adjacencytree/byroot_tree.py to fire off lazy loaders upon load, to reduce query calling
- added get(), get_by(), load() to MapperExtension
- re-implemented ExtensionOption (called by extension() function)
- redid _ExtensionCarrier to function dynamically based on __getattribute__
- added logging to attributes package, indicating the execution of a lazy callable
- going to close [ticket:329]
Diffstat (limited to 'lib/sqlalchemy/orm/unitofwork.py')
| -rw-r--r-- | lib/sqlalchemy/orm/unitofwork.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/sqlalchemy/orm/unitofwork.py b/lib/sqlalchemy/orm/unitofwork.py index c4fd92e36..815ffe029 100644 --- a/lib/sqlalchemy/orm/unitofwork.py +++ b/lib/sqlalchemy/orm/unitofwork.py @@ -14,8 +14,9 @@ an "identity map" pattern. The Unit of Work then maintains lists of objects tha dirty, or deleted and provides the capability to flush all those changes at once. """ -from sqlalchemy import attributes, util, logging, topological +from sqlalchemy import util, logging, topological import sqlalchemy +import attributes from sqlalchemy.exceptions import * import StringIO import weakref |
