code: def ds_create(args):
      print("Creating a new dataset:")
      print_args(args)
      if args.output_uri:
          print(
              "Warning: '--output-uri' is deprecated, use '--storage' instead"
          )
      storage = args.storage or args.output_uri
      ds = Dataset.create(
          dataset_project=args.project,
          dataset_name=args.name,
          parent_datasets=args.parents,
          dataset_version=args.version,
          output_uri=storage,
      )
      if args.tags:
          ds.tags = ds.tags + args.tags
      print("New dataset created id={}".format(ds.id))
      clear_state({"id": ds.id})
      return ds.id
  
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 21 for calling a global function with example usage: ds_create(args) and returns: ds