class_docstr: Abstract class that defines API interfaces for storing Model Registry metadata.
class_docstr_tok: ["Abstract","class","that","defines","API","interfaces","for","storing","Model","Registry","metadata","."]
docstr: Latest version models for each requested stage. If no ``stages`` argument is provided,
  returns the latest version for each stage.
  
  :param name: Registered model name.
  :param stages: List of desired stages. If input list is None, return latest versions for
                 each stage.
  :return: List of :py:class:`mlflow.entities.model_registry.ModelVersion` objects.
docstr_tok: ["Latest","version","models","for","each","requested","stage",".","If","no","``","stages","``","argument","is","provided",",","returns","the","latest","version","for","each","stage",".",":","param","name",":","Registered","model","name",".",":","param","stages",":","List","of","desired","stages",".","If","input","list","is","None",",","return","latest","versions","for","each","stage",".",":","return",":","List","of",":","py",":","class",":","`","mlflow.entities.model_registry.ModelVersion","`","objects","."]
code: def get_latest_versions(self, name, stages=None):
      """
      Latest version models for each requested stage. If no ``stages`` argument is provided,
      returns the latest version for each stage.
  
      :param name: Registered model name.
      :param stages: List of desired stages. If input list is None, return latest versions for
                     each stage.
      :return: List of :py:class:`mlflow.entities.model_registry.ModelVersion` objects.
      """
      pass
  
imports: import logging
  from abc import ABCMeta, abstractmethod
  from time import sleep, time
  from mlflow.entities.model_registry import ModelVersionTag
  from mlflow.entities.model_registry.model_version_status import ModelVersionStatus
  from mlflow.exceptions import MlflowException
  from mlflow.protos.databricks_pb2 import RESOURCE_ALREADY_EXISTS, ErrorCode
  from mlflow.utils.annotations import developer_stable
label_desc: Use image node_id 8 for calling the AbstractStore obj's underlying member method code with example usage: obj.get_latest_versions(name, stages) without return types