aito.client.AitoClient.upload_binary_file

AitoClient.upload_binary_file(table_name: str, binary_file: BinaryIO, optimize_on_finished: bool = True, polling_time: int = 10)

upload a binary file object to a table

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

  • binary_file (BinaryIO) – binary file object

  • optimize_on_finished (bool) – optimize_table() when finished uploading, defaults to True

  • polling_time (int) – polling wait time

Raises

RequestError – an error occurred during the upload of the file to S3