class_docstr: Key-value store for storing information during a conversation.
class_docstr_tok: ["Key-value","store","for","storing","information","during","a","conversation","."]
docstr: Returns a slots class by its type name.
code: def resolve_by_type(type_name: Text) -> Type["Slot"]:
      """Returns a slots class by its type name."""
      for cls in rasa.shared.utils.common.all_subclasses(Slot):
          if cls.type_name == type_name:
              return cls
      try:
          return rasa.shared.utils.common.class_from_module_path(
              type_name
          )
      except (ImportError, AttributeError):
          raise InvalidSlotTypeException(
              f"Failed to find slot type, '{type_name}' is neither a known type nor "
              f"user-defined. If you are creating your own slot type, make "
              f"sure its module path is correct. "
              f"You can find all build in types at {DOCS_URL_SLOTS}"
          )
  
imports: import logging
  from abc import ABC, abstractmethod
  from typing import Any, Dict, List, Optional, Text, Type
  import rasa.shared.core.constants
  from rasa.shared.exceptions import RasaException
  import rasa.shared.utils.common
  import rasa.shared.utils.io
  from rasa.shared.constants import DOCS_URL_SLOTS
label_desc: Use image node_id 15 for calling the Slot obj's underlying member method code with example usage: obj.resolve_by_type(type_name) and returns: rasa, cls