append_arg_to_doc

tfsnippet.utils.append_arg_to_doc(doc, arg_doc)

Add the doc for name and scope argument to the doc string.

Parameters:
  • doc – The original doc string.
  • arg_doc – The argument documentations.
Returns:

The updated doc string.

Return type:

str