code: def request(
          self,
          method_name: str,
          *args: Any,
          trim_log_values: bool = False,
          validate_against_schema: bool = True,
          id_generator: Optional[Iterator] = None,
          **kwargs: Any
      ) -> Response:
          
          return self.send(
              Request(method_name, id_generator=id_generator, *args, **kwargs),
              trim_log_values=trim_log_values,
              validate_against_schema=validate_against_schema,
          )
docs: Send a request by passing the method and arguments.
  
          >>> client.request("cat", name="Yoko")
          <Response[1]
  
          Args:
              method_name: The remote procedure's method name.
              args: Positional arguments passed to the remote procedure.
              kwargs: Keyword arguments passed to the remote procedure.
              trim_log_values: Abbreviate the log entries of requests and responses.
              validate_against_schema: Validate response against the JSON-RPC schema.
              id_generator: Iterable of values to use as the "id" part of the request.