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

Method render

dvc/compare.py:168–174  ·  view source on GitHub ↗
(self, **kwargs: Any)

Source from the content-addressed store, hash-verified

166 self.append(row)
167
168 def render(self, **kwargs: Any):
169 from dvc.ui import ui
170
171 if kwargs.pop("csv", False):
172 ui.write(self.to_csv(), end="")
173 else:
174 ui.table(self, headers=self.keys(), **kwargs)
175
176 def as_dict(
177 self, cols: Optional[Iterable[str]] = None

Callers 4

runMethod · 0.95
test_table_emptyFunction · 0.95
show_diffFunction · 0.45
show_metricsFunction · 0.45

Calls 4

to_csvMethod · 0.95
keysMethod · 0.95
writeMethod · 0.80
tableMethod · 0.80

Tested by 1

test_table_emptyFunction · 0.76