code: def test_predict_call_with_multiple_accept_types():
      sagemaker_session = ret_csv_sagemaker_session()
      predictor = Predictor(
          ENDPOINT,
          sagemaker_session,
          serializer=CSVSerializer(),
          deserializer=PandasDeserializer(),
      )
  
      data = [1, 2]
      predictor.predict(data)
  
      assert (
          sagemaker_session.sagemaker_runtime_client.invoke_endpoint.called
      )
  
      expected_request_args = {
          "Accept": "text/csv, application/json",
          "Body": "1,2",
          "ContentType": CSV_CONTENT_TYPE,
          "EndpointName": ENDPOINT,
      }
      (
          call_args,
          kwargs,
      ) = (
          sagemaker_session.sagemaker_runtime_client.invoke_endpoint.call_args
      )
      assert kwargs == expected_request_args
  
imports: from __future__ import absolute_import
  import io
  import json
  import pytest
  from mock import Mock, call, patch
  from sagemaker.deserializers import CSVDeserializer, PandasDeserializer
  from sagemaker.enums import EndpointType
  from sagemaker.model_monitor.model_monitoring import DEFAULT_REPOSITORY_NAME
  from sagemaker.predictor import Predictor
  from sagemaker.serializers import JSONSerializer, CSVSerializer
  from sagemaker.compute_resource_requirements.resource_requirements import ResourceRequirements
label_desc: Use image node_id 10 for calling a global function with example usage: test_predict_call_with_multiple_accept_types() without return types