code: def _apply_merge_attrs(flagdef, existing):
      for name in MERGE_FLAGDEF_ATTRS:
          existing_val = getattr(existing, name)
          if existing_val is None or name in FORCE_FLAGDEF_ATTRS:
              setattr(existing, name, getattr(flagdef, name))
  
file_path: guildai/guild/plugins/resource_flags.py
imports: import logging
  from guild import guildfile
  from guild import op_dep
  from guild import plugin
label_desc: Use image node_id 11 for calling a global function with example usage: _apply_merge_attrs(flagdef, existing) without return types