class_docstr: An abstract class for manipulating audio signal.
class_docstr_tok: ["An","abstract","class","for","manipulating","audio","signal","."]
docstr: Load dynamically an AudioAdapter from given class descriptor.
  
  Parameters:
      descriptor (str):
          Adapter class descriptor (module.Class)
  
  Returns:
      AudioAdapter:
          Created adapter instance.
docstr_tok: ["Load","dynamically","an","AudioAdapter","from","given","class","descriptor",".","Parameters",":","descriptor","(","str",")",":","Adapter","class","descriptor","(","module.Class",")","Returns",":","AudioAdapter",":","Created","adapter","instance","."]
code: def get(cls, descriptor: str) -> "AudioAdapter":
      """
      Load dynamically an AudioAdapter from given class descriptor.
  
      Parameters:
          descriptor (str):
              Adapter class descriptor (module.Class)
  
      Returns:
          AudioAdapter:
              Created adapter instance.
      """
      if not descriptor:
          return cls.default()
      module_desc: List[str] = descriptor.split(".")
      adapter_class_name: str = module_desc[-1]
      module_path: str = ".".join(module_desc[:-1])
      adapter_module = import_module(module_path)
      adapter_class = getattr(adapter_module, adapter_class_name)
      if not issubclass(adapter_class, AudioAdapter):
          raise SpleeterError(
              f"{adapter_class_name} is not a valid AudioAdapter class"
          )
      return adapter_class()
  
file_path: spleeter/spleeter/audio/adapter.py
imports: from abc import ABC, abstractmethod
  from importlib import import_module
  from pathlib import Path
  from typing import Any, Dict, List, Optional, Union
  import numpy
  import tensorflow
  from spleeter.audio import Codec
  from ..None import SpleeterError
  from ..types import AudioDescriptor, Signal
  from ..utils.logging import logger
label_desc: Use image node_id 5 for calling the AudioAdapter obj's underlying member method code with example usage: obj.get(cls, descriptor) and returns: adapter_class, cls