def batch(self, batch_obj):
if batch_obj is not None and not isinstance(batch_obj, BatchQuery):<EOL><INDENT>raise CQLEngineException('<STR_LIT>')<EOL><DEDENT>clone = copy.deepcopy(self)<EOL>clone._batch = batch_obj<EOL>return clone<EOL>
Adds a batch query to the mix
:param batch_obj:
:return: