code: def test_invalid_multipart():
      with pytest.raises(
          InvalidArgument,
          match="Multipart IO can not contain nested Multipart IO descriptor",
      ):
          _ = Multipart(arg1=Multipart(arg1=JSON()))
  
file_path: BentoML/tests/unit/_internal/io/test_multipart.py
imports: from __future__ import annotations
  import io
  from typing import TYPE_CHECKING
  import pytest
  from bentoml._internal.utils import LazyLoader
  from bentoml.exceptions import InvalidArgument
  from bentoml.grpc.utils import import_generated_stubs
  from bentoml.io import JSON
  from bentoml.io import Image
  from bentoml.io import Multipart
  from bentoml.io import Text
label_desc: Use image node_id 1 for calling a global function with example usage: test_invalid_multipart() without return types