diff options
| author | Ants Aasma <ants.aasma@gmail.com> | 2008-04-02 22:45:43 +0000 |
|---|---|---|
| committer | Ants Aasma <ants.aasma@gmail.com> | 2008-04-02 22:45:43 +0000 |
| commit | d17cb855bf24227ef2d25c7fc54e222ce92eebcb (patch) | |
| tree | 6bbe1636ddce236c6cd78266abafa4d04d763d43 /lib/sqlalchemy/orm/interfaces.py | |
| parent | bf77ddaabb8a39f292a649e51f84e8a9af397de7 (diff) | |
| download | sqlalchemy-d17cb855bf24227ef2d25c7fc54e222ce92eebcb.tar.gz | |
Cascade traversal algorithm converted from recursive to iterative to support deep object graphs.
Diffstat (limited to 'lib/sqlalchemy/orm/interfaces.py')
| -rw-r--r-- | lib/sqlalchemy/orm/interfaces.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/sqlalchemy/orm/interfaces.py b/lib/sqlalchemy/orm/interfaces.py index c43bae6c0..f00c42421 100644 --- a/lib/sqlalchemy/orm/interfaces.py +++ b/lib/sqlalchemy/orm/interfaces.py @@ -334,9 +334,9 @@ class MapperProperty(object): raise NotImplementedError() - def cascade_iterator(self, type, object, recursive=None, halt_on=None): - """Iterate through instances related to the given instance along - a particular 'cascade' path, starting with this MapperProperty. + def cascade_iterator(self, type_, state, visited_instances=None, halt_on=None): + """Iterate through instances related to the given instance for + a particular 'cascade', starting with this MapperProperty. See PropertyLoader for the related instance implementation. """ |
