code: def test_explain(tmp_path):
      temp_input_file_path = tmp_path.joinpath("input.json")
      temp_input_file_path.write_text('{"data": [5000]}')
      res = runner.invoke(
          cli.explain,
          [
              "--target",
              f_target,
              "--name",
              f_name,
              "--input-path",
              temp_input_file_path,
          ],
      )
      assert "1" in res.stdout
  
imports: import json
  import os
  from unittest import mock
  import pytest
  from click.testing import CliRunner
  from mlflow.deployments import cli
  from mlflow.exceptions import MlflowException
label_desc: Use image node_id 12 for calling a global function with example usage: test_explain(tmp_path) without return types