On Tue, May 10, 2016 at 12:37 PM, Piotr Dobrogost <[email protected]> wrote: > On Monday, May 9, 2016 at 5:05:11 PM UTC+2, Mike Bayer wrote: >> >> >> the only thing that is sigificant with "mock" is the first part of the >> URL. You can just send the whole URL though, so just like this: >> >> mock_engine = create_engine(real_engine.url, strategy="mock", ...) > > > Thanks Mike. > In addition to DDL that comes from .create_all() there's additional DDL > created by alembic. Is it possible to filter all log messages generated by > SA by type of SQL (DDL in this case)? >
Could you use Alembic's offline mode? http://alembic.readthedocs.io/en/latest/offline.html Simon -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sqlalchemy. For more options, visit https://groups.google.com/d/optout.
