code: def write_config_section(fobj, suite, name, props):
      """Write a config section with (multiple) settings.
  
      Parameters
      ----------
      fobj : File
         Opened target file
      suite : str
         First item of the section name, e.g. 'submodule', or
         'datalad'
      name : str
         Remainder of the section name
      props : dict
         Keys are configuration setting names within the section
         context (i.e. not duplicating `suite` and/or `name`, values
         are configuration setting values.
      """
      fmt = "[{_suite_} {_q_}{_name_}{_q_}]\n"
      for p in props:
          fmt += "\t{p} = {{{p}}}\n".format(p=p)
      quoted_name = quote_config(name)
      fobj.write(
          fmt.format(
              _suite_=suite,
              _q_="" if quoted_name.startswith('"') else '"',
              _name_=quoted_name,
              **{k: quote_config(v) for k, v in props.items()},
          )
      )
  
imports: import json
  import logging
  import os
  import re
  import threading
  import warnings
  from collections import namedtuple
  from fasteners import InterProcessLock
  from functools import lru_cache, wraps
  from pathlib import Path
  import datalad
  from datalad.consts import DATASET_CONFIG_FILE
  from datalad.runner import CommandError, GitRunner, KillOutput, StdOutErrCapture
  from datalad.utils import getpwd, on_windows
label_desc: Use image node_id 10 for calling a global function with example usage: write_config_section(fobj, suite, name, props) without return types