docstr: converts a line from config ("ext1 ext2, ext3  ") into a python list (["ext1", "ext2", "ext3"])
docstr_tok: ["converts","a","line","from","config","(","``","ext1","ext2",",","ext3","``",")","into","a","python","list","(","[","``","ext1","''",",","``","ext2","''",",","``","ext3","''","]",")"]
code: def parse_list(self, text):
      """converts a line from config ("ext1 ext2, ext3  ") into a python list (["ext1", "ext2", "ext3"])"""
  
      if not text:
          return []
  
      # both "," and " " are accepted as separator
      return [x for x in re.split(r"[,\s]+", text.strip()) if x]
  
imports: from __future__ import annotations
  import configparser
  import os
  import threading
  import re
  from modules import shared, errors, cache, scripts
  from modules.gitpython_hack import Repo
  from modules.paths_internal import extensions_dir, extensions_builtin_dir, script_path
label_desc: Use image node_id 3 for calling the ExtensionMetadata obj's underlying member method code with example usage: obj.parse_list(text) and returns: unknown, list