diff --git a/app/core/ingestion/pipeline.py b/app/core/ingestion/pipeline.py index a8d9db8b..78c935cd 100644 --- a/app/core/ingestion/pipeline.py +++ b/app/core/ingestion/pipeline.py @@ -114,7 +114,8 @@ def generate_pipeline_ingest_input_query( ) .filter(FamilyDocument.document_status != DocumentStatus.DELETED) .options( - # Disable any default eager loading + # Disable any default eager loading as this was causing multiplicity due to + # implicit joins due to relationships between the selected models. lazyload("*") ) )