code: def get_attribute_value(self, path: str) -> Any:
      for attr in self._attributes:
          if attr.path == path:
              _type = attr.type
              if _type == AttributeType.RUN_STATE:
                  return RunState.from_api(
                      attr.properties.get("value")
                  ).value
              if _type in (
                  AttributeType.FLOAT,
                  AttributeType.INT,
                  AttributeType.BOOL,
                  AttributeType.STRING,
                  AttributeType.DATETIME,
              ):
                  return attr.properties.get("value")
              if (
                  _type == AttributeType.FLOAT_SERIES
                  or _type == AttributeType.STRING_SERIES
              ):
                  return attr.properties.get("last")
              if _type == AttributeType.IMAGE_SERIES:
                  raise MetadataInconsistency(
                      "Cannot get value for image series."
                  )
              if _type == AttributeType.FILE:
                  raise MetadataInconsistency(
                      "Cannot get value for file attribute. Use download() instead."
                  )
              if _type == AttributeType.FILE_SET:
                  raise MetadataInconsistency(
                      "Cannot get value for file set attribute. Use download() instead."
                  )
              if _type == AttributeType.STRING_SET:
                  return set(attr.properties.get("values"))
              if _type == AttributeType.GIT_REF:
                  return attr.properties.get("commit", {}).get(
                      "commitId"
                  )
              if _type == AttributeType.NOTEBOOK_REF:
                  return attr.properties.get("notebookName")
              if _type == AttributeType.ARTIFACT:
                  return attr.properties.get("hash")
              logger.error(
                  "Attribute type %s not supported in this version, yielding None. Recommended client upgrade.",
                  _type,
              )
              return None
      raise ValueError("Could not find {} attribute".format(path))
  
imports: import logging
  from datetime import datetime
  from typing import Any, Dict, List, Optional, Union
  from neptune.exceptions import MetadataInconsistency
  from neptune.internal.backends.api_model import AttributeType, AttributeWithProperties, LeaderboardEntry
  from neptune.internal.backends.neptune_backend import NeptuneBackend
  from neptune.internal.container_type import ContainerType
  from neptune.internal.utils.paths import join_paths, parse_path
  from neptune.internal.utils.run_state import RunState
label_desc: Use image node_id 4 for calling the TableEntry obj's underlying member method code with example usage: obj.get_attribute_value(path) and returns: None, RunState, attr, attr, set, attr, attr, attr