MCPcopy Create free account
hub / github.com/apache/datafusion / load_from

Method load_from

benchmarks/compare.py:136–140  ·  view source on GitHub ↗
(cls, data: Dict[str, Any])

Source from the content-addressed store, hash-verified

134
135 @classmethod
136 def load_from(cls, data: Dict[str, Any]) -> BenchmarkRun:
137 return cls(
138 context=Context.load_from(data["context"]),
139 queries=[QueryRun.load_from(result) for result in data["queries"]],
140 )
141
142 @classmethod
143 def load_from_file(cls, path: Path) -> BenchmarkRun:

Callers

nothing calls this directly

Calls 1

load_fromMethod · 0.45

Tested by

no test coverage detected