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

Method getvalue

awscli/botocore/docs/bcdoc/restdoc.py:70–78  ·  view source on GitHub ↗

Returns the current content of the document as a string.

(self)

Source from the content-addressed store, hash-verified

68 self._writes.append(s)
69
70 def getvalue(self):
71 """
72 Returns the current content of the document as a string.
73 """
74 if self.hrefs:
75 self.style.new_paragraph()
76 for refname, link in self.hrefs.items():
77 self.style.link_target_definition(refname, link)
78 return ''.join(self._writes).encode('utf-8')
79
80 def translate_words(self, words):
81 return [self.translation_map.get(w, w) for w in words]

Callers 1

_replace_contentMethod · 0.45

Calls 3

new_paragraphMethod · 0.45
encodeMethod · 0.45

Tested by

no test coverage detected