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

Method _calculate_max_width

awscli/table.py:267–274  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

265 return self._auto_reformat
266
267 def _calculate_max_width(self):
268 max_width = max(
269 s.total_width(
270 padding=4, with_border=True, outer_padding=s.indent_level
271 )
272 for s in self._sections
273 )
274 return max_width
275
276 def _render_section(self, section, max_width, stream):
277 stream = IndentedStream(

Callers 1

renderMethod · 0.95

Calls 1

total_widthMethod · 0.80

Tested by

no test coverage detected