def default_shard_func(self, shard_key):
        if self._salt is None:
            self._salt = os.urandom(4)
        return hash(str(shard_key)+self._salt) % len(self._shards)
Deletes a screenshot.
dataset/ETHPy150Open taherh/pysimsearch/pysimsearch/sim_index/sim_index_collection.py/SimIndexCollection.default_shard_func--crossover with--dataset/ETHPy150Open reviewboard/reviewboard/reviewboard/webapi/tests/base.py/BaseWebAPITestCase._delete_screenshot