code: def sphinx_entry(self) -> str:
      return "\n".join(
          [
              f".. _{self.tag}:",
              "",
              sphinx_format_header(self.name, "*"),
              "",
              ".. code::",
              "",
              indent(self.text, "   "),
          ]
      )
  
file_path: determined/tools/scripts/gen-attributions.py
imports: import email
  import os
  import sys
  from typing import IO, List, Optional
label_desc: Use image node_id 4 for calling the License obj's underlying member method code with example usage: obj.sphinx_entry() and returns: str