code: def __init__(
      self,
      datastore_path,
      api_url,
      username=None,
      password=None,
      project="MONAILabel",
      task_prefix="ActiveLearning_Iteration",
      image_quality=70,
      labels=None,
      normalize_label=True,
      segment_size=1,
      **kwargs,
  ):
      default_labels = [
          {"name": "Tool", "attributes": [], "color": "#66ff66"},
          {"name": "InBody", "attributes": [], "color": "#ff0000"},
          {"name": "OutBody", "attributes": [], "color": "#0000ff"},
      ]
      labels = labels if labels else default_labels
      labels = json.loads(labels) if isinstance(labels, str) else labels
  
      self.api_url = api_url.rstrip("/").strip()
      self.auth = (
          HTTPBasicAuth(username, password) if username else None
      )
      self.project = project
      self.task_prefix = task_prefix
      self.image_quality = image_quality
      self.labels = labels
      self.label_map = {
          l["name"]: idx for idx, l in enumerate(labels, start=1)
      }
      self.normalize_label = normalize_label
      self.segment_size = segment_size
  
      logger.info(f"CVAT:: API URL: {api_url}")
      logger.info(f"CVAT:: UserName: {username}")
      logger.info(
          f"CVAT:: Password: {'*' * len(password) if password else ''}"
      )
      logger.info(f"CVAT:: Project: {project}")
      logger.info(f"CVAT:: Task Prefix: {task_prefix}")
      logger.info(f"CVAT:: Image Quality: {image_quality}")
      logger.info(f"CVAT:: Labels: {labels}")
      logger.info(f"CVAT:: Normalize Label: {normalize_label}")
      logger.info(f"CVAT:: Segment Size: {normalize_label}")
  
      super().__init__(datastore_path=datastore_path, **kwargs)
  
      self.done_prefix = "DONE"
  
imports: import json
  import logging
  import os
  import shutil
  import tempfile
  import time
  import urllib.parse
  import numpy
  import requests
  from PIL import Image
  from requests.auth import HTTPBasicAuth
  from monailabel.datastore.local import LocalDatastore
  from monailabel.interfaces.datastore import DefaultLabelTag
  from monailabel.utils.others.generic import get_mime_type
label_desc: Use image node_id 1 to create a new CVATDatastore object from inherited base classes: LocalDatastore with example: obj = CVATDatastore(datastore_path, api_url, username, password, project, task_prefix, image_quality, labels, normalize_label, segment_size)