Re: [sqlalchemy] Inconsistent SQL Generation in 2.0

2023-05-15 Thread Mike Bayer
On Mon, May 15, 2023, at 1:28 PM, Benjamin Taub wrote: > Hey, Mike! > I just wanted to let you know I figured this out. Your sample code led me to > something I hadn't considered. After the routine I was stuck in, I take the > SQLAlchemy-generated code, turn it into a string, and add some > ma

Re: [sqlalchemy] Inconsistent SQL Generation in 2.0

2023-05-15 Thread Benjamin Taub
Hey, Mike! I just wanted to let you know I figured this out. Your sample code led me to something I hadn't considered. After the routine I was stuck in, I take the SQLAlchemy-generated code, turn it into a string, and add some manually-generated SQL. I used a command like *str(SQL)* to get this

Re: [sqlalchemy] An Attribute Error is occurring but I am not understanding why?

2023-05-15 Thread Nishant Varma
Is it a JSON data type? I see some threads like this: https://github.com/sqlalchemy/sqlalchemy/issues/4027 On Mon, 15 May 2023 at 11:44, Shashank wrote: > I've created a flask application that makes use of SQLAlchemy to store and > retrieve the data, but I am facing this error. Can anybody pleas