(dataset_path, cursor)
| 146 | |
| 147 | |
| 148 | def process_scans(dataset_path, cursor): |
| 149 | with open(dataset_path, "r") as fd: |
| 150 | for line in fd: |
| 151 | if line := line.strip(): |
| 152 | add_scan(rapidjson.loads(line), cursor) |
| 153 | |
| 154 | |
| 155 | def main(name: str, dataset_path): |