code: def ds_upload(args):
      print("uploading local files to dataset id {}".format(args.id))
      check_null_id(args)
      print_args(args)
      ds = Dataset.get(dataset_id=args.id)
      ds.upload(
          verbose=args.verbose,
          output_url=args.storage or None,
          chunk_size=args.chunk_size or -1,
          max_workers=args.max_workers,
      )
      print("Dataset upload completed")
      return 0
  
imports: import json
  import os
  import shutil
  from argparse import ArgumentParser, HelpFormatter
  from functools import partial
  from typing import Sequence
  from pathlib2 import Path
  import clearml.backend_api.session
  from clearml.datasets import Dataset
  from clearml.version import __version__
label_desc: Use image node_id 17 for calling a global function with example usage: ds_upload(args) and returns: int