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

Method __init__

dvc/utils/serialize/_common.py:43–48  ·  view source on GitHub ↗
(self, path: "StrPath", message: str)

Source from the content-addressed store, hash-verified

41 """Errors while parsing files"""
42
43 def __init__(self, path: "StrPath", message: str):
44 from dvc.utils import relpath
45
46 path = relpath(path)
47 self.path = path
48 super().__init__(f"unable to read: '{path}', {message}")
49
50
51class EncodingError(ParseError):

Callers 1

__init__Method · 0.45

Calls 1

relpathFunction · 0.90

Tested by

no test coverage detected