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

Method __init__

dvc/cli/command.py:16–26  ·  view source on GitHub ↗
(self, args: Any)

Source from the content-addressed store, hash-verified

14 UNINITIALIZED = False
15
16 def __init__(self, args: Any):
17 from dvc.repo import Repo
18
19 os.chdir(args.cd)
20
21 self.repo: Repo = Repo(
22 uninitialized=self.UNINITIALIZED,
23 _wait_for_lock=args.wait_for_lock,
24 )
25 self.config: Config = self.repo.config
26 self.args = args
27
28 def do_run(self):
29 with self.repo:

Callers

nothing calls this directly

Calls 2

RepoClass · 0.90
chdirMethod · 0.45

Tested by

no test coverage detected