aito.client.AitoClient.upload_entries

AitoClient.upload_entries(table_name: str, entries: Iterable[Dict], batch_size: int = 1000, optimize_on_finished: bool = True)

populate table entries by batches of batch_size

Parameters
  • table_name (str) – the name of the table

  • entries (Iterable[Dict]) – iterable of the table entries

  • batch_size (int, optional) – the batch size, defaults to 1000

  • optimize_on_finished (bool) – optimize the table on finished, defaults to True