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

Method new_section

awscli/table.py:245–249  ·  view source on GitHub ↗
(self, title, indent_level=0)

Source from the content-addressed store, hash-verified

243 self._current_section.add_row(row_elements)
244
245 def new_section(self, title, indent_level=0):
246 self._current_section = Section()
247 self._sections.append(self._current_section)
248 self._current_section.add_title(title)
249 self._current_section.indent_level = indent_level
250
251 def render(self, stream):
252 max_width = self._calculate_max_width()

Callers 3

_build_tableMethod · 0.80

Calls 2

SectionClass · 0.85
add_titleMethod · 0.45

Tested by 1