code: def create_attribute_from_type(
      attribute_type: AttributeType,
      container: "MetadataContainer",
      path: List[str],
  ) -> "Attribute":
      try:
          return _attribute_type_to_attr_class_map[attribute_type](
              container, path
          )
      except KeyError:
          raise InternalClientError(
              f"Unexpected type: {attribute_type}"
          )
  
imports: from typing import TYPE_CHECKING, List
  from neptune.attributes import Artifact, Boolean, Datetime, File, FileSeries, FileSet, Float, FloatSeries, GitRef, Integer, NotebookRef, RunState, String, StringSeries, StringSet
  from neptune.common.exceptions import InternalClientError
  from neptune.internal.backends.api_model import AttributeType
label_desc: Use image node_id 1 for calling a global function with example usage: create_attribute_from_type(attribute_type, container, path) and returns: _attribute_type_to_attr_class_map