OpenRAG is a comprehensive, single package Retrieval-Augmented Generation platform built on Langflow, Docling, and Opensearch.
Python
fix: persist Langflow database across container restarts
Mike Pawlowskia1c1e0283c2b
diff --git a/tests/conftest.py b/tests/conftest.pyindex eced102f5..ffe80467e 100644--- a/tests/conftest.py+++ b/tests/conftest.py@@ -51,15 +51,6 @@ async def onboard_system():except Exception as e:print(f"[DEBUG] Could not clean OpenSearch data directory: {e}")- # Clean up Langflow data directory to ensure a fresh Langflow DB for tests- langflow_data_path = Path(os.getenv("LANGFLOW_DATA_PATH", "./langflow-data"))- if langflow_data_path.exists():- try:- shutil.rmtree(langflow_data_path)- print(f"[DEBUG] Cleaned up Langflow data directory: {langflow_data_path}")- except Exception as e:- print(f"[DEBUG] Could not clean Langflow data directory: {e}")-# Initialize clientsawait clients.initialize()