code: def __init__(self, path):
      self.path = path
      self.data = {}
      if os.path.exists(path):
          self.data = self.read_from_disk()
      else:
          os.makedirs(Path(path).parent, exist_ok=True)
  
imports: import json
  import locale
  import os
  import re
  import subprocess
  from collections import namedtuple
  from dataclasses import dataclass
  from pathlib import Path
  import requests
label_desc: Use image node_id 1 to create a new _CommitDataCache object  with example: obj = _CommitDataCache(path)