aito.api.rename_table

aito.api.rename_table(client: aito.client.aito_client.AitoClient, old_name: str, new_name: str, replace: bool = False)

rename a table

Note

requires the client to be setup with the READ-WRITE API key

Parameters
  • client (AitoClient) – the AitoClient instance

  • old_name (str) – the name of the table to be renamed

  • new_name (str) – the new name of the table

  • replace (bool, optional) – replace an existing table of which name is the new name, defaults to False