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

Method _require

dvc/testing/tmp_dir.py:113–118  ·  view source on GitHub ↗
(self, name)

Source from the content-addressed store, hash-verified

111 self.dvc.close()
112
113 def _require(self, name):
114 if not hasattr(self, name):
115 raise TypeError(
116 f"Can't use {name} for this temporary dir. "
117 f'Did you forget to use "{name}" fixture?'
118 )
119
120 # Bootstrapping methods
121 def gen(self, struct, text=""):

Callers 4

dvc_addMethod · 0.95
scm_addMethod · 0.95
add_remoteMethod · 0.95
branchMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected