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

Method include_doc_string

awscli/bcdoc/restdoc.py:104–114  ·  view source on GitHub ↗
(self, doc_string)

Source from the content-addressed store, hash-verified

102 self._write(data)
103
104 def include_doc_string(self, doc_string):
105 if doc_string:
106 try:
107 start = len(self._writes)
108 self.parser.feed(doc_string)
109 self.parser.close()
110 end = len(self._writes)
111 self._last_doc_string = (start, end)
112 except Exception:
113 LOG.debug('Error parsing doc string', exc_info=True)
114 LOG.debug(doc_string)
115
116 def remove_last_doc_string(self):
117 # Removes all writes inserted by last doc string

Callers 15

doc_descriptionMethod · 0.45
doc_optionMethod · 0.45
_do_doc_memberMethod · 0.45
doc_synopsis_startMethod · 0.45
doc_descriptionMethod · 0.45
doc_descriptionMethod · 0.45
doc_descriptionMethod · 0.45
doc_global_optionsMethod · 0.45

Calls 2

feedMethod · 0.45
closeMethod · 0.45

Tested by 4