python-zk / kazoo

Kazoo is a high-level Python library that makes it easier to use Apache Zookeeper.
https://kazoo.readthedocs.io
Apache License 2.0
1.3k stars 387 forks source link

TreeCache Recipe is not available as Atrribute (bounded) to the KazooClient #500

Open akshjain83 opened 6 years ago

akshjain83 commented 6 years ago

The TreeCache recipe is not bounded to the client while initialization. Is that on purpose or its just a miss?

StephenSorriaux commented 5 years ago

Hi,

@tonyseek is one of this recipe's maintainer. Maybe he can give you some lights...

tonyseek commented 5 years ago

Hi @akshjain83,

The client does not initialize any recipe by itself. The client.DataWatch and client.ChildrenWatch are just factory functions.

It seems not bad to have client.TreeCache too. May you open a pull request for it?