(self, batch_info, dst_curs)
Called on first event for this table in current batch.
Called on first event for this table in current batch.
Called on first event for this table in current batch .
def prepare_batch(self, batch_info, dst_curs):
        """Called on first event for this table in current batch."""
        if self.hash_key is not None:
            if not self.hash_mask:
                self.load_shard_info(dst_curs)
        TableHandler.prepare_batch(self, batch_info, dst_curs)
def prepare_batch ( self , batch_info , dst_curs ) : if self . hash_key is not None : if not self . hash_mask : self . load_shard_info ( dst_curs ) TableHandler . prepare_batch ( self , batch_info , dst_curs )