singer_sdk.batch.JSONLinesBatcher

class singer_sdk.batch.JSONLinesBatcher[source]

JSON Lines Record Batcher.

get_batches(records)[source]

Yield manifest of batches.

Parameters:

records (Iterator[dict]) – The records to batch.

Yields:

A list of file paths (called a manifest).

Return type:

Iterator[list[str]]