http/get_simple/python/server/fastapi_uvicorn/server.py [44:57]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    batch = pa.record_batch(arrays, schema)
    batches = []

    records = 0
    while records < total_records:
        if records + length > total_records:
            last_length = total_records - records
            batches.append(batch.slice(0, last_length))
            records += last_length
        else:
            batches.append(batch)
            records += length

    return batches
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



http/get_simple/python/server/http.server/server.py [44:57]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    batch = pa.record_batch(arrays, schema)
    batches = []
    
    records = 0
    while records < total_records:
      if records + length > total_records:
        last_length = total_records - records
        batches.append(batch.slice(0, last_length))
        records += last_length
      else:
        batches.append(batch)
        records += length
    
    return batches
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



