aito.api.upload_binary_file¶
-
aito.api.
upload_binary_file
(client: aito.client.aito_client.AitoClient, table_name: str, binary_file: BinaryIO, polling_time: int = 10, optimize_on_finished: bool = True)¶ upload a binary file object to a table
Note
requires the client to be setup with the READ-WRITE API key
- Parameters
client (AitoClient) – the AitoClient instance
table_name (str) – the name of the table to be uploaded
binary_file (BinaryIO) – binary file object
polling_time (int) – polling wait time
optimize_on_finished (bool) –
optimize_table()
when finished uploading, defaults to True