summaryrefslogtreecommitdiff
path: root/taskflow/persistence/path_based.py
diff options
context:
space:
mode:
authorDan Krause <dan.krause@rackspace.com>2015-03-10 21:42:53 -0500
committerDan Krause <dan.krause@rackspace.com>2015-03-11 15:57:07 -0500
commit9f64c47cb74b27c40135fff79e23d2bd1c6acfdd (patch)
treef980c7cb76aea3cd53ca5da1e19d401a6b62a0b2 /taskflow/persistence/path_based.py
parentf9e520679a5d95ed1a3292296a4b736cdd5b7387 (diff)
downloadtaskflow-9f64c47cb74b27c40135fff79e23d2bd1c6acfdd.tar.gz
lazy loading for logbooks and flowdetails
You can now specify a "lazy" argument when asking a persistence backend for a logbook for flowdetail. This will return a logbook with no flowdetails in it, or a flowdetail with no atomdetails in it, respectively. Change-Id: Ie81a19a2107b44e2c35c2a92507bec03eee55c50
Diffstat (limited to 'taskflow/persistence/path_based.py')
-rw-r--r--taskflow/persistence/path_based.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/taskflow/persistence/path_based.py b/taskflow/persistence/path_based.py
index ea08025..d3e2bfe 100644
--- a/taskflow/persistence/path_based.py
+++ b/taskflow/persistence/path_based.py
@@ -149,7 +149,7 @@ class PathBasedConnection(base.Connection):
def get_logbooks(self, lazy=False):
for book_uuid in self._get_children(self.book_path):
- yield self.get_logbook(book_uuid, lazy)
+ yield self.get_logbook(book_uuid, lazy=lazy)
def get_logbook(self, book_uuid, lazy=False):
book_path = self._join_path(self.book_path, book_uuid)