code: def apply_entries(checkpoint, entries):
      """Recursively modifies `checkpoint` with `entries` values."""
      for field, value in entries.items():
          # Access the last dict (if nested) and modify it.
          to_edit = checkpoint
          bits = field.split(".")
          for bit in bits[:-1]:
              to_edit = to_edit[bit]
          to_edit[bits[-1]] = value
  
      return checkpoint
  
imports: import click
  import json
  import os
  import shutil
  import six
  import requests
  import tarfile
  import tempfile
  import tensorflow
  import uuid
  from datetime import datetime
  from luminoth import __version__
  from luminoth.utils.config import get_config
  from luminoth.utils.homedir import get_luminoth_home
label_desc: Use image node_id 10 for calling a global function with example usage: apply_entries(checkpoint, entries) and returns: checkpoint