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 Structured data 2 (#645) 2026-02-23 15:56:29 +00:00
test_cassandra_storage_logic.py Structure data mvp (#452) 2025-08-07 20:47:20 +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 Collection delete pt. 3 (#542) 2025-09-30 16:02:33 +01:00
test_neo4j_user_collection_isolation.py Changed schema for Value -> Term, majorly breaking change (#622) 2026-01-27 13:48:08 +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 Entity-centric graph (#633) 2026-02-16 13:26:43 +00:00
test_triples_falkordb_storage.py Changed schema for Value -> Term, majorly breaking change (#622) 2026-01-27 13:48:08 +00:00
test_triples_memgraph_storage.py Changed schema for Value -> Term, majorly breaking change (#622) 2026-01-27 13:48:08 +00:00
test_triples_neo4j_storage.py Changed schema for Value -> Term, majorly breaking change (#622) 2026-01-27 13:48:08 +00:00