code: def _apply_notebook_flags(opdef, cache):
      notebook_path = _nbexec_notebook_path(opdef)
      if not notebook_path or not os.path.exists(notebook_path):
          return
      flags_import_util.apply_flags(
          opdef,
          lambda: _flags_data_for_notebook(notebook_path, opdef, cache),
      )
  
imports: import ast
  import json
  import logging
  import os
  import re
  from guild import config
  from guild import guildfile
  from guild import model
  from guild import plugin
  from guild import python_util
  from guild import util
  from .None import flags_import_util
label_desc: Use image node_id 5 for calling a global function with example usage: _apply_notebook_flags(opdef, cache) without return types