code: def ds_squash(args):
      print(
          "Squashing datasets ids={} into target dataset named '{}'".format(
              args.ids, args.name
          )
      )
      print_args(args)
      ds = Dataset.squash(
          dataset_name=args.name,
          dataset_ids=args.ids,
          output_url=args.storage or None,
      )
      print(
          "Squashing completed, new dataset created id={}".format(ds.id)
      )
      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 12 for calling a global function with example usage: ds_squash(args) and returns: int