code: def get_checkpoints_directory():
      """Returns checkpoint directory within Luminoth's homedir."""
      # Checkpoint directory, `$LUMI_HOME/checkpoints/`. Create if not present.
      path = os.path.join(get_luminoth_home(), CHECKPOINT_PATH)
      if not os.path.exists(path):
          tf.gfile.MakeDirs(path)
      return path
  
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 1 for calling a global function with example usage: get_checkpoints_directory() and returns: path