(record: dict, metadata: dict)
| 22 | |
| 23 | # Metadata extraction function |
| 24 | def metadata_func(record: dict, metadata: dict) -> dict: |
| 25 | metadata["name"] = record.get("name") |
| 26 | metadata["summary"] = record.get("summary") |
| 27 | metadata["url"] = record.get("url") |
| 28 | metadata["category"] = record.get("category") |
| 29 | metadata["updated_at"] = record.get("updated_at") |
| 30 | |
| 31 | return metadata |
| 32 | |
| 33 | |
| 34 | ## Load Data |