summaryrefslogtreecommitdiff
path: root/taskflow/persistence
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2015-07-17 22:25:44 +0000
committerGerrit Code Review <review@openstack.org>2015-07-17 22:25:44 +0000
commitaa1694476487805f1be30b7c3c09ffd82b5d8d2c (patch)
tree067a32e36fa86c085ee689d2aa246b775d603dc5 /taskflow/persistence
parenta289c7679c86b12580815da2d5fc689d4a857839 (diff)
parent050a52dfb17a9920c1fcec490e2a78eb5e95708b (diff)
downloadtaskflow-aa1694476487805f1be30b7c3c09ffd82b5d8d2c.tar.gz
Merge "Update 'make_client' kazoo docs and link to them"
Diffstat (limited to 'taskflow/persistence')
-rw-r--r--taskflow/persistence/backends/impl_zookeeper.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/taskflow/persistence/backends/impl_zookeeper.py b/taskflow/persistence/backends/impl_zookeeper.py
index 687f103..1189723 100644
--- a/taskflow/persistence/backends/impl_zookeeper.py
+++ b/taskflow/persistence/backends/impl_zookeeper.py
@@ -39,6 +39,16 @@ class ZkBackend(path_based.PathBasedBackend):
"hosts": "192.168.0.1:2181,192.168.0.2:2181,192.168.0.3:2181",
"path": "/taskflow",
}
+
+ Do note that the creation of a kazoo client is achieved
+ by :py:func:`~taskflow.utils.kazoo_utils.make_client` and the transfer
+ of this backend configuration to that function to make a
+ client may happen at ``__init__`` time. This implies that certain
+ parameters from this backend configuration may be provided to
+ :py:func:`~taskflow.utils.kazoo_utils.make_client` such
+ that if a client was not provided by the caller one will be created
+ according to :py:func:`~taskflow.utils.kazoo_utils.make_client`'s
+ specification
"""
#: Default path used when none is provided.