Re: [sqlalchemy] Session execution_options are lost after commit

2017-04-03 Thread mike bayer
On 04/03/2017 09:53 AM, Артём Мигда wrote: Hi, I trying to use schema_translate_map in my project and I encountered with strange behavior of execution_options binding. Here's a code with session creation: DBSession = scoped_session(sessionmaker()) session = DBSession() session.connection(exec

[sqlalchemy] Session execution_options are lost after commit

2017-04-03 Thread Артём Мигда
Hi, I trying to use schema_translate_map in my project and I encountered with strange behavior of execution_options binding. Here's a code with session creation: DBSession = scoped_session(sessionmaker()) session = DBSession() session.connection(execution_options={ 'schema_translate_map`: {