def __init__(self, batch_type=None, timestamp=None, consistency=None, execute_on_exception=False,
                 timeout=connection.NOT_SET):
        self.queries = []
        self.batch_type = batch_type
        if timestamp is not None and not isinstance(timestamp, (datetime, timedelta)):
            raise CQLEngineException('timestamp object must be an instance of datetime')
        self.timestamp = timestamp
        self._consistency = consistency
        self._execute_on_exception = execute_on_exception
        self._timeout = timeout
        self._callbacks = []
        self._executed = False
        self._context_entered = False
:param batch_type: (optional) One of batch type values available through BatchType enum
dataset/ETHPy150Open datastax/python-driver/cassandra/cqlengine/query.py/BatchQuery.__init__