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

Method _determine_conversion_needed

awscli/table.py:261–265  ·  view source on GitHub ↗
(self, max_width)

Source from the content-addressed store, hash-verified

259 self._render_section(section, max_width, stream)
260
261 def _determine_conversion_needed(self, max_width):
262 # If we don't know the width of the controlling terminal,
263 # then we don't try to resize the table.
264 if max_width > self._terminal_width:
265 return self._auto_reformat
266
267 def _calculate_max_width(self):
268 max_width = max(

Callers 1

renderMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected