MCPcopy Create free account
hub / github.com/aws/aws-cli / _render_section

Method _render_section

awscli/table.py:276–286  ·  view source on GitHub ↗
(self, section, max_width, stream)

Source from the content-addressed store, hash-verified

274 return max_width
275
276 def _render_section(self, section, max_width, stream):
277 stream = IndentedStream(
278 stream,
279 section.indent_level,
280 self._styler.style_indentation_char('|'),
281 self._styler.style_indentation_char('|'),
282 )
283 max_width -= section.indent_level * 2
284 self._render_title(section, max_width, stream)
285 self._render_column_titles(section, max_width, stream)
286 self._render_rows(section, max_width, stream)
287
288 def _render_title(self, section, max_width, stream):
289 # The title consists of:

Callers 1

renderMethod · 0.95

Calls 5

_render_titleMethod · 0.95
_render_column_titlesMethod · 0.95
_render_rowsMethod · 0.95
IndentedStreamClass · 0.85

Tested by

no test coverage detected