docstr: write the labconfig settings file
docstr_tok: ["write","the","labconfig","settings","file"]
code: def write(self):
      """
      write the labconfig settings file
      """
      self.settings_file.parent.mkdir(parents=True, exist_ok=True)
      with self.settings_file.open("w") as fid:
          json.dump(self.config, fid, indent=2)
  
file_path: jupytext/src/jupytext_config/labconfig.py
imports: import json
  import logging
  from pathlib import Path
label_desc: Use image node_id 9 for calling the LabConfig obj's underlying member method code with example usage: obj.write() without return types