code: def send_requests_sync(
      requests: List[Request],
      target: str,
      timeout=99.0,
      tls=False,
      root_certificates: Optional[str] = None,
      endpoint: Optional[str] = None,
      channel_options: Optional[list] = None,
  ) -> Request:
      """
      Sends a list of requests synchronically to the target via grpc
  
      :param requests: the requests to send
      :param target: where to send the request to, like 126.0.0.1:8080
      :param timeout: timeout for the send
      :param tls: if True, use tls for the grpc channel
      :param root_certificates: the path to the root certificates for tls, only used if tls is True
      :param endpoint: endpoint to target with the request
      :param channel_options: gRPC channel options
      :returns: the response request
      """
  
      for i in range(2):
          try:
              with get_grpc_channel(
                  target,
                  tls=tls,
                  root_certificates=root_certificates,
                  options=channel_options,
              ) as channel:
                  metadata = (
                      (("endpoint", endpoint),) if endpoint else None
                  )
                  stub = jina_pb2_grpc.JinaDataRequestRPCStub(channel)
                  response, call = stub.process_data.with_call(
                      requests,
                      timeout=timeout,
                      metadata=metadata,
                  )
                  return response
          except grpc.RpcError as e:
              if e.code() != grpc.StatusCode.UNAVAILABLE or i == 1:
                  raise
  
file_path: jina/jina/serve/networking/utils.py
imports: import ipaddress
  import os
  from typing import TYPE_CHECKING, Any, Dict, List, Optional, Sequence, Union
  import grpc
  from grpc_health.v1 import health_pb2, health_pb2_grpc
  from grpc_reflection.v1alpha.reflection_pb2 import ServerReflectionRequest
  from grpc_reflection.v1alpha.reflection_pb2_grpc import ServerReflectionStub
  from jina.proto import jina_pb2_grpc
  from jina.serve.helper import get_server_side_grpc_options
  from jina.serve.networking.instrumentation import _aio_channel_with_tracing_interceptor, _channel_with_tracing_interceptor
  from jina.types.request import Request
label_desc: Use image node_id 4 for calling a global function with example usage: send_requests_sync(requests, target, timeout, tls, root_certificates, endpoint, channel_options) and returns: response