def __call__(self, func):
        if self._used:
            raise KazooException(
                "A function has already been associated with this "
                "ChildrenWatch instance.")

        self._func = func

        self._used = True
        if self._allow_session_lost:
            self._client.add_listener(self._session_watcher)
        self._get_children()
        return func
To be deprecated. See to_lisp_rule
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/kazoo-2.0/kazoo/recipe/watchers.py/ChildrenWatch.__call__--crossover with--dataset/ETHPy150Open bigmlcom/python/bigml/predicate.py/Predicate.to_LISP_rule