All Products
Search
Document Center

Tablestore:List tables

Last Updated:Aug 04, 2026

Use Tablestore SDK for Python to list Wide Column model tables in the current instance.

Prerequisites

Install the Tablestore SDK for Python and initialize a client.

Function description

Call the list_table method to list all Wide Column model tables, excluding TimeSeries model tables, in the current instance.

def list_table(self)

The following example lists the tables and prints each table name.

table_names = client.list_table()

for table_name in table_names:
    print(table_name)

Parameters

The list_table method does not take request parameters.

Response

The list_table method returns a Tuple[str]. Each element is the name of a Wide Column model table in the current instance.