MCPcopy Index your code
hub / github.com/aws/aws-sam-cli / section

Method section

samcli/cli/formatters.py:98–103  ·  view source on GitHub ↗
(self, name: str)

Source from the content-addressed store, hash-verified

96
97 @contextmanager
98 def section(self, name: str) -> Iterator[None]:
99 with super().section(style(name, bold=True, underline=True)):
100 try:
101 yield
102 finally:
103 pass
104
105 @contextmanager
106 def indented_section(self, name: str, extra_indents: int = 0) -> Iterator[None]:

Callers 3

format_tableMethod · 0.45
format_commandsMethod · 0.45
indented_sectionMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected