code: def fixture_saved_model(
      framework: types.ModuleType, test_model: FrameworkTestModel
  ) -> bentoml.Model:
      return framework.save_model(
          test_model.name, test_model.model, **test_model.save_kwargs
      )
  
imports: from __future__ import annotations
  import logging
  import os
  import types
  import typing
  from typing import TYPE_CHECKING
  import pytest
  import bentoml
  from bentoml._internal.models.model import ModelContext
  from bentoml._internal.models.model import ModelSignature
  from bentoml._internal.runner.runner import Runner
  from bentoml._internal.runner.runner_handle.local import LocalRunnerRef
  from bentoml._internal.runner.strategy import DefaultStrategy
  from bentoml.exceptions import NotFound
  from .models import FrameworkTestModel
label_desc: Use image node_id 1 for calling a global function with example usage: fixture_saved_model(framework, test_model) and returns: framework