docstr: Retrieve asset versions information
docstr_tok: ["Retrieve","asset","versions","information"]
code: def get_versions_info(self, name):
      """
      Retrieve asset versions information
      """
      versions_object_name = self.get_versions_object_name(name)
      with tempfile.TemporaryDirectory() as tmp_dir:
          versions_object_path = os.path.join(
              tmp_dir, name + ".version"
          )
          os.makedirs(
              os.path.dirname(versions_object_path), exist_ok=True
          )
          self.driver.download_object(
              versions_object_name, versions_object_path
          )
          with open(versions_object_path) as f:
              versions_list = json.load(f)["versions"]
          return versions_list
  
imports: import datetime
  import glob
  import json
  import os
  import tempfile
  import time
  from typing import Any, Optional
  import humanize
  from dateutil import parser, tz
  from structlog import get_logger
  from modelkit.assets import errors
  from modelkit.assets.drivers.abc import StorageDriver
  from modelkit.assets.drivers.local import LocalStorageDriver, LocalStorageDriverSettings
  from modelkit.assets.settings import AssetSpec
  from modelkit.utils.logging import ContextualizedLogging
label_desc: Use image node_id 5 for calling the StorageProvider obj's underlying member method code with example usage: obj.get_versions_info(name) and returns: versions_list