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

Method _get_comment

awscli/botocore/docs/sharedexample.py:185–190  ·  view source on GitHub ↗
(self, path, comments)

Source from the content-addressed store, hash-verified

183 section.write(f"datetime({datetime_str}),")
184
185 def _get_comment(self, path, comments):
186 key = re.sub(r'^\.', '', ''.join(path))
187 if comments and key in comments:
188 return '# ' + comments[key]
189 else:
190 return ''
191
192 def _start_nested_value(self, section, start):
193 section.write(start)

Callers 3

_document_dictMethod · 0.95
_document_paramsMethod · 0.95
_document_listMethod · 0.95

Calls 1

subMethod · 0.80

Tested by

no test coverage detected