code: def test_raise_not_implemented_openapi(fn: str):
      with pytest.raises(NotImplementedError):
          getattr(DummyDescriptor(), fn)()
  
file_path: BentoML/tests/unit/_internal/io/test_base.py
imports: from __future__ import annotations
  import typing
  from typing import TYPE_CHECKING
  import pytest
  from bentoml.io import IODescriptor
label_desc: Use image node_id 1 for calling a global function with example usage: test_raise_not_implemented_openapi(fn) without return types