Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /GRID-INTELLIGENCE_GRID /dev /patches /patch_rag_v2.py
| def patch_indexer(): | |
| path = "e:/grid/tools/rag/indexer.py" | |
| with open(path, encoding="utf-8") as f: | |
| content = f.read() | |
| old_exclude = """ "research_snapshots", "archival", "ui_backup", "ui_node_modules_orphan", | |
| "Hogwarts", "visualizations" | |
| }""" | |
| new_exclude = """ "research_snapshots", "archival", "ui_backup", "ui_node_modules_orphan", | |
| "Hogwarts", "visualizations", "Arena", "datakit", "legacy_src" | |
| }""" | |
| content = content.replace(old_exclude, new_exclude) | |
| with open(path, "w", encoding="utf-8") as f: | |
| f.write(content) | |
| print("Patched indexer.py with more excludes") | |
| if __name__ == "__main__": | |
| patch_indexer() | |
Xet Storage Details
- Size:
- 722 Bytes
- Xet hash:
- bd432f7a2ce1833b2333e59dfc81b1dad7b8a9b7d5bfbf4dad6f7c1d972cdf21
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.