class_docstr: Your tricks should subclass this class.
class_docstr_tok: ["Your","tricks","should","subclass","this","class","."]
code: def generate_yaml(cls):
      context = dict(
          module_name=cls.__module__, klass_name=cls.__name__
      )
      template_yaml = """- %(module_name)s.%(klass_name)s:
    args:
    - argument1
    - argument2
    kwargs:
      patterns:
      - "*.py"
      - "*.js"
      ignore_patterns:
      - "version.py"
      ignore_directories: false
  """
      return template_yaml % context
  
imports: import os
  import signal
  import subprocess
  import time
  from wandb_watchdog.utils import echo, has_attribute
  from wandb_watchdog.events import PatternMatchingEventHandler
label_desc: Use image node_id 1 for calling the Trick obj's underlying member method code with example usage: obj.generate_yaml(cls) and returns: unknown