Single watcher on each node

19 views
Skip to first unread message

David Wood

unread,
Sep 9, 2020, 11:09:57 AM9/9/20
to python-zk
I would like to use a single watcher for each node.  One child and one data watcher.  The watch function does not appear to get the path to the node, so this approach seems unworkable.  It would be very helpful if the path were available.  Can I get this somehow in the watch function?

Thanks.

David Wood

unread,
Sep 9, 2020, 11:17:30 AM9/9/20
to python-zk
Actually, the ChildrenWatch function is given the path, but the DataWatch function does not seem to get the path.  Any way to get the path in the DataWatch function.
Reply all
Reply to author
Forward
0 new messages