code: def _apply_missing_flag_vals(flag_vals, trials):
      for trial in trials:
          trial.update(
              {
                  name: flag_vals[name]
                  for name in flag_vals
                  if name not in trial
              }
          )
  
imports: import logging
  import os
  import typing
  import warnings
  from guild import _skopt
  from guild import batch_util
  from guild import flag_util
  from guild import op_util
  from guild import query
label_desc: Use image node_id 5 for calling a global function with example usage: _apply_missing_flag_vals(flag_vals, trials) without return types