code: def compute_info(cls, val):
      from metaflow.plugins.datastores.local_storage import LocalStorage
  
      v = os.path.realpath(os.path.join(val, DATASTORE_LOCAL_DIR))
      if os.path.isdir(v):
          LocalStorage.datastore_root = v
          return val
      raise ValueError(
          "Could not find directory %s in directory %s"
          % (DATASTORE_LOCAL_DIR, val)
      )
  
imports: import collections
  import glob
  import json
  import os
  import random
  import tempfile
  import time
  from collections import namedtuple
  from metaflow.exception import MetaflowInternalError, MetaflowTaggingError
  from metaflow.metadata.metadata import ObjectOrder
  from metaflow.metaflow_config import DATASTORE_LOCAL_DIR
  from metaflow.metadata import MetadataProvider
  from metaflow.tagging_util import MAX_USER_TAG_SET_SIZE, validate_tags
label_desc: Use image node_id 2 for calling the LocalMetadataProvider obj's underlying member method code with example usage: obj.compute_info(cls, val) and returns: val