def CONCAT_ARRAYS(*arrays):
    """
    Concatenates arrays to return the concatenated array.
    See https://docs.mongodb.com/manual/reference/operator/aggregation/concatArrays/
    for more details
    :param arrays: A set of arrays(expressions).
    :return: Aggregation operator
    """
    return {'$concatArrays': list(arrays)}
