def __dumps(*args, **kwargs):
    indent = None
    if (current_app.config.get('JSONIFY_PRETTYPRINT_REGULAR', False) and
            not request.is_xhr):
        indent = 2
    return json.dumps(args[0] if len(args) is 1 else dict(*args, **kwargs),
                      indent=indent)
Combines the current batch with the next one. Called by batcher.
dataset/ETHPy150Open corydolphin/flask-jsonpify/flask_jsonpify.py/__dumps--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/datastore/datastore_query.py/Batch._extend