Skip to content

Commit

Permalink
ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
stellasia committed Dec 6, 2024
1 parent 4e04d04 commit 1e1ce2a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/neo4j_graphrag/experimental/pipeline/config/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 1e1ce2a

Please sign in to comment.