code: def _new_data_request_from_batch(
      batch,
      data_type: DataInputType,
      endpoint: str,
      target: Optional[str],
      parameters: Optional[dict],
  ) -> DataRequest:
      req = _new_data_request(endpoint, target, parameters)
  
      # add docs fields
      _add_docs(req, batch, data_type)
  
      return req
  
file_path: jina/jina/clients/request/helper.py
imports: from typing import Optional, Tuple
  from jina._docarray import Document, DocumentArray, docarray_v2
  from jina.enums import DataInputType
  from jina.types.request.data import DataRequest
label_desc: Use image node_id 1 for calling a global function with example usage: _new_data_request_from_batch(batch, data_type, endpoint, target, parameters) and returns: req