code: def info(id_or_alias):
      db = read_checkpoint_db()
  
      checkpoint = get_checkpoint(db, id_or_alias)
      if not checkpoint:
          click.echo(
              "Checkpoint '{}' not found in index.".format(id_or_alias)
          )
          return
  
      if checkpoint["alias"]:
          click.echo(
              "{} ({}, {})".format(
                  checkpoint["name"],
                  checkpoint["id"],
                  checkpoint["alias"],
              )
          )
      else:
          click.echo(
              "{} ({})".format(checkpoint["name"], checkpoint["id"])
          )
  
      if checkpoint["description"]:
          click.echo(checkpoint["description"])
  
      click.echo()
  
      click.echo("Model used: {}".format(checkpoint["model"]))
      click.echo("Dataset information")
      click.echo("    Name: {}".format(checkpoint["dataset"]["name"]))
      click.echo(
          "    Number of classes: {}".format(
              checkpoint["dataset"]["num_classes"]
          )
      )
  
      click.echo()
  
      click.echo("Creation date: {}".format(checkpoint["created_at"]))
      click.echo(
          "Luminoth version: {}".format(checkpoint["luminoth_version"])
      )
  
      click.echo()
  
      if checkpoint["source"] == "remote":
          click.echo(
              "Source: {} ({})".format(
                  checkpoint["source"], checkpoint["status"]
              )
          )
          click.echo("URL: {}".format(checkpoint["url"]))
      else:
          click.echo("Source: {}".format(checkpoint["source"]))
  
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 16 for calling a global function with example usage: info(id_or_alias) without return types