def get_table_names( cls, database: "Database", inspector: PGInspector, schema: Optional[str] ) -> List[str]: """Need to consider foreign tables for PostgreSQL""" tables = inspector.get_table_names(schema) tables.extend(inspector.get_foreign_table_names(schema)) return sorted(tables)
def print_entire_db(inspector: PGInspector, session): for table in inspector.get_table_names(): pass
def test_get_tables(inspector: PGInspector) -> None: assert inspector.get_table_names()