From 031aa469cd3b74755a989dd3577162ff0f9e9a58 Mon Sep 17 00:00:00 2001 From: Kevin Schaper Date: Tue, 2 Sep 2025 09:17:31 -0700 Subject: [PATCH] disallow nulls from primary_knowledge_sources --- src/matrix_schema/datamodel/pandera.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/matrix_schema/datamodel/pandera.py b/src/matrix_schema/datamodel/pandera.py index 98fa7d4..cafb71c 100644 --- a/src/matrix_schema/datamodel/pandera.py +++ b/src/matrix_schema/datamodel/pandera.py @@ -158,7 +158,7 @@ def get_unioned_edge_schema(validate_enumeration_values: bool = True): return DataFrameSchema( columns={ - "primary_knowledge_sources": Column(T.ArrayType(T.StringType()), nullable=True), + "primary_knowledge_sources": Column(T.ArrayType(T.StringType()), nullable=False), "subject": Column(T.StringType(), nullable=False), "predicate": Column(T.StringType(), nullable=False, checks=predicate_checks),