class_docstr: Import datasets.
  
  This command dispatches the import to different versions of the command
  until it finds one that matches.
code: def __init__(
      self, contents: dict[str, str], *args: Any, **kwargs: Any
  ):
      self.contents = contents
      self.args = args
      self.kwargs = kwargs
  
file_path: superset/superset/commands/dataset/importers/dispatcher.py
imports: import logging
  from typing import Any
  from marshmallow.exceptions import ValidationError
  from superset.commands.base import BaseCommand
  from superset.commands.dataset.importers import v0, v1
  from superset.commands.exceptions import CommandInvalidError
  from superset.commands.importers.exceptions import IncorrectVersionError
label_desc: Use image node_id 1 to create a new ImportDatasetsCommand object from inherited base classes: BaseCommand with example: obj = ImportDatasetsCommand(contents)