trustgraph/tests/unit/test_storage
cybermaggedon aa4f5c6c00
Remove redundant metadata (#685)
The metadata field (list of triples) in the pipeline Metadata class
was redundant. Document metadata triples already flow directly from
librarian to triple-store via emit_document_provenance() - they don't
need to pass through the extraction pipeline.

Additionally, chunker and PDF decoder were overwriting metadata to []
anyway, so any metadata passed through the pipeline was being
discarded.

Changes:
- Remove metadata field from Metadata dataclass
  (schema/core/metadata.py)
- Update all Metadata instantiations to remove metadata=[]
  parameter
- Remove metadata handling from translators (document_loading,
  knowledge)
- Remove metadata consumption from extractors (ontology, agent)
- Update gateway serializers and import handlers
- Update all unit, integration, and contract tests
2026-03-11 10:51:39 +00:00
..
conftest.py Knowledge core processing updated for embeddings interface change (#681) 2026-03-10 13:28:16 +00:00
test_cassandra_config_integration.py Merge 2.0 to master (#651) 2026-02-28 11:03:14 +00:00
test_cassandra_storage_logic.py Release/v1.2 (#457) 2025-08-18 20:56:09 +01:00
test_doc_embeddings_milvus_storage.py Embeddings API scores (#671) 2026-03-09 10:53:44 +00:00
test_doc_embeddings_pinecone_storage.py Embeddings API scores (#671) 2026-03-09 10:53:44 +00:00
test_doc_embeddings_qdrant_storage.py Embeddings API scores (#671) 2026-03-09 10:53:44 +00:00
test_graph_embeddings_milvus_storage.py Embeddings API scores (#671) 2026-03-09 10:53:44 +00:00
test_graph_embeddings_pinecone_storage.py Embeddings API scores (#671) 2026-03-09 10:53:44 +00:00
test_graph_embeddings_qdrant_storage.py Embeddings API scores (#671) 2026-03-09 10:53:44 +00:00
test_memgraph_user_collection_isolation.py release/v1.4 -> master (#548) 2025-10-06 17:54:26 +01:00
test_neo4j_user_collection_isolation.py Merge 2.0 to master (#651) 2026-02-28 11:03:14 +00:00
test_row_embeddings_qdrant_storage.py Embeddings API scores (#671) 2026-03-09 10:53:44 +00:00
test_rows_cassandra_storage.py Remove redundant metadata (#685) 2026-03-11 10:51:39 +00:00
test_triples_cassandra_storage.py Merge 2.0 to master (#651) 2026-02-28 11:03:14 +00:00
test_triples_falkordb_storage.py Merge 2.0 to master (#651) 2026-02-28 11:03:14 +00:00
test_triples_memgraph_storage.py Merge 2.0 to master (#651) 2026-02-28 11:03:14 +00:00
test_triples_neo4j_storage.py Merge 2.0 to master (#651) 2026-02-28 11:03:14 +00:00