I am trying to run this code:
Query Seatable for rows matching the current element
query = f'select * from {table_name} where {column_list_create} = "{element}" limit {limit_rows}'
table = base.query(query)
id_value = table[0]['_id']
# Get metadata for the target column
tables = metadata['tables']
table = [table for table in tables if table['name'] == table_name][0]
columns = table['columns']
column = [col for col in columns if col['name'] == target_column_name][0]
table_id = table.get('_id')
column_key = column.get('key')
# Get linked records from Seatable
json = base.get_linked_records(table_id, column_key, rows=[{'row_id': id_value, 'limit': limit_rows}])
filter_condition = fill_df[column_list_create] == element
That needs to run on every row, getting this error:
535 try: --> 536 response = conn.getresponse() 537 except (BaseSSLError, OSError) as e:
...
503 except MaxRetryError as e: 504 if isinstance(e.reason, ConnectTimeoutError): 505 # TODO: Remove this in 3.0.0: see #2811