class_docstr: Common interface for all model server clients.
class_docstr_tok: ["Common","interface","for","all","model","server","clients","."]
docstr: Send requests to the model server.
  
  Args:
    requests: A list of request protos.
  
  Raises:
    ValidationFailed: If error occurred while sending requests.
docstr_tok: ["Send","requests","to","the","model","server",".","Args",":","requests",":","A","list","of","request","protos",".","Raises",":","ValidationFailed",":","If","error","occurred","while","sending","requests","."]
code: def SendRequests(self, requests: List[types.Request]) -> None:
      """Send requests to the model server.
  
      Args:
        requests: A list of request protos.
  
      Raises:
        ValidationFailed: If error occurred while sending requests.
      """
      for r in requests:
          try:
              self._SendRequest(r)
          except Exception as e:  # pylint: disable=broad-except
              raise error_types.ValidationFailed(
                  f"Model server failed to respond to the request {r}"
              ) from e
  
file_path: tfx/tfx/components/infra_validator/model_server_clients/base_client.py
imports: import abc
  import time
  from typing import List
  from absl import logging
  from tfx.components.infra_validator import error_types
  from tfx.components.infra_validator import types
label_desc: Use image node_id 4 for calling the BaseModelServerClient obj's underlying member method code with example usage: obj.SendRequests(requests) without return types