Re: [sqlalchemy] create_engine returns a function, not a proper object

2017-08-19 Thread Brian Van Klaveren
Your code is buggy. You assigned the engine object then your parameters are actually a tuple which are immediately lost. > On Aug 19, 2017, at 10:35 PM, Boris Epstein wrote: > > Hello all, > > My call to create_engine which used to work at one point now return a >

[sqlalchemy] create_engine returns a function, not a proper object

2017-08-19 Thread Boris Epstein
Hello all, My call to create_engine which used to work at one point now return a function object. The code: if self.__dbConnectParams[DB_SERVER_TAG] is not None: self.__dbEngine = sqlalchemy.create_engine ("mysql://%s:%s@%s:%s/%s" %