On Mon, Oct 12, 2009 at 21:43, dasacc22 <[email protected]> wrote:

> Im trying to figure out how to pass check_same_thread = False to my
> sqlite database stored via file. I tried
>
> metadata.bind.check_same_thread = False
>
> to no effect.

You probably need to use create_engine explicitly, as in:

engine = create_engine(uri)
metadata.bind = engine

or, you might be able to pass the arguments within the connection string. See:

http://www.sqlalchemy.org/docs/05/dbengine.html#custom-dbapi-connect-arguments

-- 
Gaƫtan de Menten
http://openhex.org

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SQLElixir" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sqlelixir?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to