class_docstr: A prompt template.
class_docstr_tok: ["A","prompt","template","."]
docstr: Returns all template fields.
docstr_tok: ["Returns","all","template","fields","."]
code: def get_template_fields(self):
      """
      Returns all template fields.
      """
      return [
          x.strip()
          for x in re.findall(r"\{\{(.+?)\}\}", str(self.jinja))
      ]
  
imports: import logging
  import os
  import random
  import re
  import uuid
  from collections import Counter, defaultdict
  from shutil import rmtree
  from typing import Dict, List, Optional, Tuple
  import pandas
  import pkg_resources
  import yaml
  from jinja2 import BaseLoader, Environment, meta
  from ..constants import AUTOMM
label_desc: Use image node_id 3 for calling the Template obj's underlying member method code with example usage: obj.get_template_fields() and returns: unknown