def combine_vars(a, b):
 if (C.DEFAULT_HASH_BEHAVIOUR == 'merge'):
  return merge_hash(a, b)
 else:
  _validate_mutable_mappings(a, b)
  result = a.copy()
  result.update(b)
  return result

def combine_vars ( a , b ) : if ( C . DEFAULT_HASH_BEHAVIOUR == 'merge' ) : return merge_hash ( a , b ) else : _validate_mutable_mappings ( a , b ) result = a . copy ( ) result . update ( b ) return result
return a copy of dictionaries of variables based on configured hash behavior .