code: def test_invalid_signatures_model(URI: Path):
      with pytest.raises(
          BentoMLException,
          match="MLflow pyfunc model support only the `predict` method, *",
      ):
          _ = bentoml.mlflow.import_model(
              MODEL_NAME,
              str(URI),
              signatures={
                  "asdf": {"batchable": True},
                  "no_predict": {"batchable": False},
              },
          )
  
imports: from __future__ import annotations
  import os
  import typing
  from pathlib import Path
  from typing import TYPE_CHECKING
  import mlflow
  import mlflow.models
  import mlflow.sklearn
  import mlflow.tracking
  import numpy
  import psutil
  import pytest
  from sklearn.datasets import load_iris
  from sklearn.neighbors import KNeighborsClassifier
  import bentoml
  from bentoml._internal.models.model import ModelContext
  from bentoml.exceptions import BentoMLException
  from bentoml.exceptions import NotFound
label_desc: Use image node_id 7 for calling a global function with example usage: test_invalid_signatures_model(URI) without return types