aviv
07/02/2024, 3:02 PMDaskTaskRunner()
to run my flow using multiprocessing, and in one of my tasks I'm connecting to a db and also making sure the connection is closed when the task is done.
I thought that the fact that each process can be allowed to have it's own connection getting the following error:
ProgrammingError: (sqlite3.ProgrammingError) SQLite objects created in a thread can only be used in that same thread
Do I need to add maybe additional kwargs to DaskTaskRunner()
?Romain Vincent
07/02/2024, 3:23 PMaviv
07/02/2024, 3:27 PMRomain Vincent
07/02/2024, 3:31 PMaviv
07/02/2024, 3:33 PM