code: def load_config_from_properties(configs, properties_dict):
      for k, v in properties_dict.items():
          lens_and_setter = configs, None
  
          def _setter(d, k):
              def _set(v):
                  d[k] = v
  
              return _set
  
          for s in k.split("."):
              lens, _ = lens_and_setter
              if not s.endswith("]"):
                  if lens.get(s) is None:
                      lens[s] = {}
                  lens_and_setter = lens[s], _setter(lens, s)
              else:
                  name, index = s.rstrip("]").split("[")
                  index = int(index)
                  if lens.get(name) is None:
                      lens[name] = []
                  lens = lens[name]
                  if (short_size := index + 1 - len(lens)) > 0:
                      lens.extend([None] * short_size)
                      lens[index] = {}
                  lens_and_setter = lens[index], _setter(lens, index)
          _, setter = lens_and_setter
          if setter is not None:
              setter(v)
  
label_desc: Use image node_id 3 for calling a global function with example usage: load_config_from_properties(configs, properties_dict) and returns: _set