MCPcopy
hub / github.com/treeverse/dvc / info

Method info

dvc/repo/experiments/executor/base.py:178–199  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

176
177 @property
178 def info(self) -> "ExecutorInfo":
179 if self.result is not None:
180 result_dict: dict[str, Any] = {
181 "result_hash": self.result.exp_hash,
182 "result_ref": (
183 str(self.result.ref_info) if self.result.ref_info else None
184 ),
185 "result_force": self.result.force,
186 }
187 else:
188 result_dict = {}
189 return ExecutorInfo(
190 git_url=self.git_url,
191 baseline_rev=self.baseline_rev,
192 location=self.location,
193 root_dir=self.root_dir,
194 dvc_dir=self.dvc_dir,
195 name=self.name,
196 wdir=self.wdir,
197 status=self.status,
198 **result_dict,
199 )
200
201 @classmethod
202 def from_info(cls, info: "ExecutorInfo") -> "Self":

Callers 11

ls_urlFunction · 0.45
_lsFunction · 0.45
_ls_treeFunction · 0.45
_rebuildFunction · 0.45
gcFunction · 0.45
iter_indexFunction · 0.45
initFunction · 0.45
addMethod · 0.45
__call__Method · 0.45
_reproduceFunction · 0.45
branchFunction · 0.45

Calls 1

ExecutorInfoClass · 0.85

Tested by

no test coverage detected