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

Function make_executor_info

tests/func/experiments/test_show.py:26–37  ·  view source on GitHub ↗
(**kwargs)

Source from the content-addressed store, hash-verified

24
25
26def make_executor_info(**kwargs):
27 # set default values for required info fields
28 for key in (
29 "git_url",
30 "baseline_rev",
31 "location",
32 "root_dir",
33 "dvc_dir",
34 ):
35 if key not in kwargs:
36 kwargs[key] = ""
37 return ExecutorInfo(**kwargs)
38
39
40def make_executor(local=None, **kwargs):

Callers 1

test_show_runningFunction · 0.85

Calls 1

ExecutorInfoClass · 0.90

Tested by

no test coverage detected