code: def to_spec(self) -> dict[str, t.Any]:
      raise NotImplementedError
  
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 7 for calling the DummyDescriptor obj's underlying member method code with example usage: obj.to_spec() without return types