append_to_doc

tfsnippet.utils.append_to_doc(doc, content)

Append content to the doc string.

Parameters:
  • doc (str) – The original doc string.
  • content (str) – The new doc string, which should be a standalone section.
Returns:

The modified doc string.

Return type:

str