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

Class Context

benchmarks/compare.py:112–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110
111@dataclass
112class Context:
113 benchmark_version: str
114 datafusion_version: str
115 num_cpus: int
116 start_time: int
117 arguments: List[str]
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 15

expr_or_exprMethod · 0.50
wait_for_taskMethod · 0.50
default_config_transformFunction · 0.50
contextMethod · 0.50
test_find_root_errorFunction · 0.50
infer_schemaMethod · 0.50
coerce_case_expressionFunction · 0.50
simplify_regex_exprFunction · 0.50
register_hitsMethod · 0.50
create_hits_viewMethod · 0.50
runMethod · 0.50

Calls

no outgoing calls

Tested by 1

test_find_root_errorFunction · 0.40

Used in the wild real call sites across dependent graphs

searching dependent graphs…