You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Most of the usage could be inferred via beanstalkd. But the encoding control needs more documents.
sample
It is controled by the encoding of Client.__init__().
When encoding is not None, the input of Client.put() should be str, and the output of Client.reserve() would be str too. Consistent encoding for both producer and consumer is neccessary.
When encoding is None, the input of Client.put() should be bytes, and the output of Client.reserve() would be bytes too. Consistent encoding (None) for both producer and consumer is neccessary.
Behaviours under other settings are undefined.
The text was updated successfully, but these errors were encountered:
Most of the usage could be inferred via
beanstalkd
. But the encoding control needs more documents.sample
It is controled by the
encoding
ofClient.__init__()
.When
encoding
is notNone
, the input ofClient.put()
should bestr
, and the output ofClient.reserve()
would bestr
too. Consistentencoding
for both producer and consumer is neccessary.When
encoding
isNone
, the input ofClient.put()
should bebytes
, and the output ofClient.reserve()
would bebytes
too. Consistentencoding
(None
) for both producer and consumer is neccessary.Behaviours under other settings are undefined.
The text was updated successfully, but these errors were encountered: