def _clear(self, wait):
i = <NUM_LIT:0><EOL>t1 = time.time()<EOL>for k in self.bucket.get_keys():<EOL><INDENT>i += <NUM_LIT:1><EOL>self.bucket.get(k).delete()<EOL><DEDENT>print("<STR_LIT>" % round(time.time() - t1, <NUM_LIT:2>))<EOL>if wait:<EOL><INDENT>while self._model_class.objects.count():<EOL><INDENT>time.sleep(<NUM_LIT>)<EOL><DEDENT><DEDENT>return i<EOL>
clear outs the all content of current bucket
only for development purposes