code: def _parse_query_string(search):
      if search and len(search) > 0 and search[0] == "?":
          search = search[1:]
      else:
          return {}
  
      parsed_qs = {}
      for k, v in parse_qs(search).items():
          v = v[0] if len(v) == 1 else v
          parsed_qs[k] = v
      return parsed_qs
  
imports: import collections
  import importlib
  import os
  import re
  import sys
  from fnmatch import fnmatch
  from pathlib import Path
  from os.path import isfile, join
  from urllib.parse import parse_qs
  import flask
  from .None import _validate
  from ._utils import AttributeDict
  from ._get_paths import get_relative_path
  from ._callback_context import context_value
  from ._get_app import get_app
label_desc: Use image node_id 7 for calling a global function with example usage: _parse_query_string(search) and returns: parsed_qs, dict