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`: {None: 'local'} }) session.connection()._execution_options # here's our execution options session.commit() session.connection()._execution_options # here's empty dict So, my question is can we bind execution_options to session (maybe through hooks) not to connection for using 'schema_translate_map' after commit()? -- SQLAlchemy - The Python SQL Toolkit and Object Relational Mapper http://www.sqlalchemy.org/ To post example code, please provide an MCVE: Minimal, Complete, and Verifiable Example. See http://stackoverflow.com/help/mcve for a full description. --- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sqlalchemy+unsubscr...@googlegroups.com. To post to this group, send email to sqlalchemy@googlegroups.com. Visit this group at https://groups.google.com/group/sqlalchemy. For more options, visit https://groups.google.com/d/optout.