MCPcopy Create free account
hub / github.com/alibaba/DataX / _build_row

Function _build_row

otsstreamreader/tools/tabulate.py:1092–1099  ·  view source on GitHub ↗

Return a string which represents a row of data cells.

(padded_cells, colwidths, colaligns, rowfmt)

Source from the content-addressed store, hash-verified

1090
1091
1092def _build_row(padded_cells, colwidths, colaligns, rowfmt):
1093 "Return a string which represents a row of data cells."
1094 if not rowfmt:
1095 return None
1096 if hasattr(rowfmt, "__call__"):
1097 return rowfmt(padded_cells, colwidths, colaligns)
1098 else:
1099 return _build_simple_row(padded_cells, rowfmt)
1100
1101
1102def _build_line(colwidths, colaligns, linefmt):

Callers 1

_format_tableFunction · 0.85

Calls 1

_build_simple_rowFunction · 0.85

Tested by

no test coverage detected