From 1e1ce2a6a9a4c18098a9a9f10774d5ea3c5fb3c8 Mon Sep 17 00:00:00 2001 From: estelle Date: Fri, 6 Dec 2024 10:07:02 +0100 Subject: [PATCH] ruff --- src/neo4j_graphrag/experimental/pipeline/config/runner.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/neo4j_graphrag/experimental/pipeline/config/runner.py b/src/neo4j_graphrag/experimental/pipeline/config/runner.py index be7bff6d..8bad90be 100644 --- a/src/neo4j_graphrag/experimental/pipeline/config/runner.py +++ b/src/neo4j_graphrag/experimental/pipeline/config/runner.py @@ -97,7 +97,9 @@ def __init__( self.do_cleaning = do_cleaning @classmethod - def from_config(cls, config: AbstractPipelineConfig | dict[str, Any], do_cleaning: bool = False) -> Self: + def from_config( + cls, config: AbstractPipelineConfig | dict[str, Any], do_cleaning: bool = False + ) -> Self: wrapper = PipelineConfigWrapper.model_validate({"config": config}) return cls(wrapper.parse(), config=wrapper.config, do_cleaning=do_cleaning)