MCPcopy Create free account
hub / github.com/danielpatrickhug/GitModel / Config

Class Config

src/config.py:4–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2
3
4class Config:
5 def __init__(self, pipeline_settings, semantic_graph_context_generator, gnn_heads, topic_model):
6 self.semantic_graph_context_generator = semantic_graph_context_generator
7 self.gnn_heads = gnn_heads
8 self.topic_model = topic_model
9 self.pipeline_settings = pipeline_settings
10
11 @classmethod
12 def from_yaml(cls, yaml_path):
13 with open(yaml_path, "r") as f:
14 config_dict = yaml.safe_load(f)
15 return cls(**config_dict)
16
17
18class PipelineSettings:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected