list_tables

PostgresWrapper.list_tables(schema: str = None) → List[str][source]

Get a list of tables present in the current database.

Example:

>>> GenericDBWrapper().list_tables()
['sqlite_sequence', 'nodes', 'node_api', 'node_failures']
Return List[str] tables

A list of tables in the database