class_docstr: Git subclassed to never use persistent processes.
class_docstr_tok: ["Git","subclassed","to","never","use","persistent","processes","."]
code: def _get_persistent_cmd(self, attr_name, cmd_name, *args, **kwargs):
      raise NotImplementedError(
          f"Refusing to use persistent process: {attr_name} ({cmd_name} {args} {kwargs})"
      )
  
file_path: stable-diffusion-webui/modules/gitpython_hack.py
imports: from __future__ import annotations
  import io
  import subprocess
  import git
label_desc: Use image node_id 1 for calling the Git obj's underlying member method code with example usage: obj._get_persistent_cmd(attr_name, cmd_name) without return types