code: def upload_command(args):
      if not args.endpoint:
          args.endpoint = os.getenv(
              "NNC_ENDPOINT", "https://console-api.dl.sony.com"
          )
  
      uploader = Uploader(log=log, progress=Progress())
      name = os.path.splitext(os.path.basename(args.filename))[0]
      uploader.upload(
          args.token, args.filename, name, endpoint=args.endpoint
      )
      return True
  
imports: import boto3
  import csv
  import json
  import os
  import urllib.parse
  import urllib.request
  import shutil
  import tarfile
  import tempfile
  import threading
  import tqdm
label_desc: Use image node_id 2 for calling a global function with example usage: upload_command(args) and returns: True