pudo / dataset

Easy-to-use data handling for SQL data stores with support for implicit table creation, bulk loading, and transactions.
https://dataset.readthedocs.org/
MIT License
4.76k stars 297 forks source link

option connect_args={'check_same_thread':False} #372

Closed odioidentisti2 closed 3 years ago

odioidentisti2 commented 3 years ago

How can I set this argument?

I get an error: TypeError: Invalid argument(s) 'check_same_thread' sent to create_engine(), using configuration SQLiteDialect_pysqlite/NullPool/Engine.

I've tried StaticPool and SingletonThreadPool as well

pudo commented 3 years ago

Did you send it as connect_args or engine_kwargs? That's the argument that I see supported in the code :)