<commit_before>package ezk

import (
	"github.com/betable/retry"
	"github.com/samuel/go-zookeeper/zk"
	"time"
)

// Client is a wrapper over github.com/samuel/go-zookeeper/zk that retries some operations.
type Client struct {

	// The configuration for the client.
	Cfg ClientConfig

	// The underlying github.com/samuel/go-zookeeper/zk connection.<commit_msg>atg. docs++<commit_after>package ezk

import (
	"github.com/betable/retry"
	"github.com/samuel/go-zookeeper/zk"
	"time"
)

// Client is a wrapper over github.com/samuel/go-zookeeper/zk that retries all but one of its operations according to the ClientConfig.Retry function. The one exception is for CreateProtectedEphemeralSequential(); it is not retried automatically.
type Client struct {

	// The configuration for the client.
	Cfg ClientConfig

	// The underlying github.com/samuel/go-zookeeper/zk connection.
{'fraction_non_alphanumeric': 0.09851088201603665, 'fraction_numerical': 0.0, 'mean_word_length': 4.171597633136095, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '38041', 'n_tokens_mistral': 288, 'n_tokens_neox': 280, 'n_words': 80}