code: def bulk_populate_inherit_keys(
      source_dict, source_mapper, synchronize_pairs
  ):
      # a simplified version of populate() used by bulk insert mode
      for l, r in synchronize_pairs:
          try:
              prop = source_mapper._columntoproperty[l]
              value = source_dict[prop.key]
          except exc.UnmappedColumnError as err:
              _raise_col_to_prop(
                  False, source_mapper, l, source_mapper, r, err
              )
  
          try:
              prop = source_mapper._columntoproperty[r]
              source_dict[prop.key] = value
          except exc.UnmappedColumnError as err:
              _raise_col_to_prop(
                  True, source_mapper, l, source_mapper, r, err
              )
  
file_path: sqlalchemy/lib/sqlalchemy/orm/sync.py
imports: from __future__ import annotations
  from .None import exc
  from .None import util
  from .base import PassiveFlag
label_desc: Use image node_id 2 for calling a global function with example usage: bulk_populate_inherit_keys(source_dict, source_mapper, synchronize_pairs) without return types