summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/orm/interfaces.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sqlalchemy/orm/interfaces.py')
-rw-r--r--lib/sqlalchemy/orm/interfaces.py6
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.
"""