summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/orm/util.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2014-05-30 01:32:53 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2014-05-30 01:32:53 -0400
commit69dbcdd0ebf8de81643c038276fcc822a7b0bd0b (patch)
treeb6cc4a9e12f8ac04b164068d4df8096475b755e2 /lib/sqlalchemy/orm/util.py
parent2c8689fd141c278a7bbc250087e553b76a515bc6 (diff)
downloadsqlalchemy-69dbcdd0ebf8de81643c038276fcc822a7b0bd0b.tar.gz
- Related to :ticket:`3060`, an adjustment has been made to the unit
of work such that loading for related many-to-one objects is slightly more aggressive, in the case of a graph of self-referential objects that are to be deleted; the load of related objects is to help determine the correct order for deletion if passive_deletes is not set. - revert the changes to test_delete_unloaded_m2o, these deletes do in fact need to occur in the order of the two child objects first.
Diffstat (limited to 'lib/sqlalchemy/orm/util.py')
-rw-r--r--lib/sqlalchemy/orm/util.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/sqlalchemy/orm/util.py b/lib/sqlalchemy/orm/util.py
index fd902adaf..8694705a4 100644
--- a/lib/sqlalchemy/orm/util.py
+++ b/lib/sqlalchemy/orm/util.py
@@ -12,8 +12,7 @@ from . import attributes
import re
from .base import instance_str, state_str, state_class_str, attribute_str, \
- state_attribute_str, object_mapper, object_state, _none_set, \
- _none_tuple
+ state_attribute_str, object_mapper, object_state, _none_set
from .base import class_mapper, _class_to_mapper
from .base import _InspectionAttr
from .path_registry import PathRegistry