Cancel pending pd.read_sql_query in python asyncio
I’m running SQL queries asynchronously with asyncio. I want to set a timeout after 1 second of execution, and get the result of the SQL queries that succeeded in time, without waiting for the others.