cdm_data_loaders.pipelines.jsonlines.extract_pipeline ¶
JSONL load pipeline for the KBase CTS.
Reads JSONL files. No validation occurs other than that records are valid JSON.
table_name names the destination table for all valid records; files
may live anywhere under input_dir. Records that fail JSON parsing go
to the _rejected table. Each rejected record includes the target table
name, source file, line number, raw text, and error detail.
run_jsonlines_pipeline ¶
Run the JSONL pipeline.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
settings
|
JsonlExtractSettings
|
pipeline configuration |
required |
Returns:
| Type | Description |
|---|---|
LoadInfo | None
|
load information for the pipeline |