docs: def load_batch(server_context, assay_id, batch_id):
      # type: (ServerContext, int, int) -> Union[Batch, None]
      """
      Loads a batch from the server.
      :param server_context: A LabKey server context. See utils.create_server_context.
      :param assay_id: The protocol id of the assay from which to load a batch.
      :param batch_id:
      :return:
      """
      load_batch_url = server_context.build_url('assay', 'getAssayBatch.api')
      loaded_batch = None
  
      payload = {
          'assayId': assay_id,
          'batchId': batch_id
      }
  
      headers = {
          'Content-type': 'application/json',
          'Accept': 'text/plain'
      }
  
      json_body = server_context.make_request(load_batch_url, json_dumps(payload, sort_keys=True), headers=headers)
      if json_body is not None:
          loaded_batch = Batch.from_data(json_body['batch'])
  
      return loaded_batch