Re: [sqlalchemy] why MySQL DOUBLE is asdecimal=True by default

2019-04-29 Thread Michał Dobrzański
Interesting. Thank you for the extensive explanation. pon., 29 kwi 2019 o 19:49 Mike Bayer napisał(a): > On Mon, Apr 29, 2019 at 1:13 PM mdob wrote: > > > > Just out of curiosity, why it was decided that MySQL DOUBLE, which is > approximation, will be presented in ORM as Decimal by default inst

Re: [sqlalchemy] StatementError _exec_default() takes exactly 3 arguments (4 given) since version 1.2.0b3

2018-05-31 Thread Michał Dobrzański
Hi, Thank you for your response and sorry for my unclear message. Knowing SQLAlchemy has great code coverate I kept digging in ours. It appears the problem origins from a known issue described in https://bitbucket.org/zzzeek/sqlalchemy/issues/3921

Re: [sqlalchemy] Best use of engine_from_config

2016-09-04 Thread Michał Dobrzański
For Pyramid application I cache engines in global variable under connection string keys. I cache engines when they're created. This way each time I need to use the engine I reach to that dictionary instead of creating it with each request. On Sun, Sep 4, 2016 at 4:39 PM, Andrew Martin wrote: > I