for every i and row in enumerated result of the method connection.introspection.get_table_description called with arguments: cursor and table_name,
for i , row in enumerate ( connection . introspection . get_table_description ( cursor , table_name ) ) :