code: def test_model_log_with_signature_inference(auto_arima_model):
      artifact_path = "model"
      example = pd.DataFrame(
          {"n_periods": 60, "return_conf_int": True, "alpha": 0.1},
          index=[0],
      )
  
      with mlflow.start_run():
          mlflow.pmdarima.log_model(
              auto_arima_model,
              artifact_path=artifact_path,
              input_example=example,
          )
          model_uri = mlflow.get_artifact_uri(artifact_path)
  
      model_info = Model.load(model_uri)
      assert model_info.signature == ModelSignature(
          inputs=Schema(
              [
                  ColSpec(name="n_periods", type=DataType.long),
                  ColSpec(
                      name="return_conf_int", type=DataType.boolean
                  ),
                  ColSpec(name="alpha", type=DataType.double),
              ]
          ),
          outputs=Schema(
              [
                  ColSpec(name="yhat", type=DataType.double),
                  ColSpec(name="yhat_lower", type=DataType.double),
                  ColSpec(name="yhat_upper", type=DataType.double),
              ]
          ),
      )
  
imports: import json
  import os
  from pathlib import Path
  from unittest import mock
  import numpy
  import pandas
  import pmdarima
  import pytest
  import yaml
  import mlflow.pmdarima
  import mlflow.pyfunc.scoring_server
  from mlflow import pyfunc
  from mlflow.exceptions import MlflowException
  from mlflow.models import Model, ModelSignature, infer_signature
  from mlflow.models.utils import _read_example
  from mlflow.store.artifact.s3_artifact_repo import S3ArtifactRepository
  from mlflow.tracking.artifact_utils import _download_artifact_from_uri
  from mlflow.types import DataType
  from mlflow.types.schema import ColSpec, Schema
  from mlflow.utils.environment import _mlflow_conda_env
  from mlflow.utils.model_utils import _get_flavor_configuration
  from tests.helper_functions import _assert_pip_requirements, _compare_conda_env_requirements, _compare_logged_code_paths, _is_available_on_pypi, _mlflow_major_version_string, assert_register_model_called_with_local_model_path, pyfunc_serve_and_score_model
  from tests.prophet.test_prophet_model_export import DataGeneration
label_desc: Use image node_id 28 for calling a global function with example usage: test_model_log_with_signature_inference(auto_arima_model) without return types