When using Basho's Python client, getting a value for a key consists of two operations:
- getting a bucket
- getting a value from a bucket
Like this:
bucket = client.bucket(bucket_name)
value = bucket.get(key)
I occasionally get None
back for the very same bucket. That seems nonsensical because the bucket is clearly there (I checked manually all the nodes client is created with). So the question is, can/should I cache/locally store the bucket object?