def __str__(self):
<EOL>if self._cache is None:<EOL><INDENT>parts = ['<STR_LIT>' % (self._version_to_prefix[self.version],<EOL>self.uuid)]<EOL>parts.extend('<STR_LIT>' % (k, self._encode(v)) for k, v in<EOL>sorted(self.params.items(), key=lambda x: x[<NUM_LIT:0>]))<EOL>self._cache = '<STR_LIT:/>'.join(parts)<EOL><DEDENT>return self._cache<EOL>
Returns the string form of the bucket key.