class_docstr: An MLflow Model that can support multiple model flavors. Provides APIs for implementing
  new Model flavors.
class_docstr_tok: ["An","MLflow","Model","that","can","support","multiple","model","flavors",".","Provides","APIs","for","implementing","new","Model","flavors","."]
docstr: Create a :py:class:`ModelInfo <mlflow.models.model.ModelInfo>` instance that contains the
  model metadata.
docstr_tok: ["Create","a",":","py",":","class",":","`","ModelInfo","<","mlflow.models.model.ModelInfo",">","`","instance","that","contains","the","model","metadata","."]
code: def get_model_info(self):
      """
      Create a :py:class:`ModelInfo <mlflow.models.model.ModelInfo>` instance that contains the
      model metadata.
      """
      return ModelInfo(
          artifact_path=self.artifact_path,
          flavors=self.flavors,
          model_uri=f"runs:/{self.run_id}/{self.artifact_path}",
          model_uuid=self.model_uuid,
          run_id=self.run_id,
          saved_input_example_info=self.saved_input_example_info,
          signature_dict=self.signature.to_dict()
          if self.signature
          else None,
          signature=self.signature,
          utc_time_created=self.utc_time_created,
          mlflow_version=self.mlflow_version,
          metadata=self.metadata,
      )
  
imports: import json
  import logging
  import os
  import uuid
  import warnings
  from datetime import datetime
  from typing import Any, Callable, Dict, Optional, Union
  import yaml
  import mlflow
  from mlflow.artifacts import download_artifacts
  from mlflow.exceptions import MlflowException
  from mlflow.tracking._model_registry import DEFAULT_AWAIT_MAX_SLEEP_SECONDS
  from mlflow.tracking._tracking_service.utils import _resolve_tracking_uri
  from mlflow.utils.annotations import experimental
  from mlflow.utils.databricks_utils import get_databricks_runtime
  from mlflow.utils.file_utils import TempDir
  from mlflow.utils.uri import get_uri_scheme
label_desc: Use image node_id 17 for calling the Model obj's underlying member method code with example usage: obj.get_model_info() and returns: ModelInfo