Sessions, transactions, and results aren't concurrency safe. You have to create a new session per thread/async task. See if this example helps Python - generator already executing - #6 by rouven_bauer
Sessions, transactions, and results aren't concurrency safe. You have to create a new session per thread/async task. See if this example helps Python - generator already executing - #6 by rouven_bauer