Re: [sqlalchemy] creating engine in python, "No module named 'MySQLdb'

2018-08-13 Thread VINIL MEHTA
thanks. It helped me . On Tuesday, 28 October 2014 23:16:36 UTC+5:30, Simon King wrote: > > On Tue, Oct 28, 2014 at 5:23 PM, Larry Green > wrote: > > Simple question. > > > > Configuration= > > Anaconda3 > > Python 3.4 and many various 3rd party modules. > > sqlalchemy 0.9.4 verified

[sqlalchemy] Missing table in FROM clause in generated subquery

2018-08-13 Thread kevin . thierry . citlao
Dear SQLAlchemy experts, I'm having difficulty generating an SQL query with SQLAlchemy. I'm trying to query a list of messages with their originator and recipients. Each message is sent by one host to one or more hosts. Hosts are all stored in one table (host). There are two types of messages

Re: autogenerate revision fails in a multi-db project generated with: `alembic init --template multidb alembic`

2018-08-13 Thread René-paul Debroize
Hello Thank you for your answer. The problem was that the entry db_name was missing from the alembic.ini file. It is not how I configure the engine. However add something like: config.set_main_option("databases", db_names) rather than just fill the db_name var in the env.py file fixed the