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

Method load_from

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

Source from the content-addressed store, hash-verified

118
119 @classmethod
120 def load_from(cls, data: Dict[str, Any]) -> Context:
121 return cls(
122 benchmark_version=data["benchmark_version"],
123 datafusion_version=data["datafusion_version"],
124 num_cpus=data["num_cpus"],
125 start_time=data["start_time"],
126 arguments=data["arguments"],
127 )
128
129
130@dataclass

Callers 2

load_fromMethod · 0.45
load_from_fileMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected