Re: [sqlalchemy] Documentation hint

2020-10-09 Thread Mike Bayer
an error raise would be better since that's not a documentation note anyone would notice. there seems to be a more general issue that you can put any SQL elements in literal() and that should not be happening in 1.4, so lets make a real bug https://github.com/sqlalchemy/sqlalchemy/issues/5639

[sqlalchemy] Documentation hint

2020-10-09 Thread Massimiliano della Rovere
Greetings, probably it's obvious to everybody but me, but I think it would be useful specifying in both the literal and the bindparam documentation that literal(bindparam(...)) is an invalid construct in sqlalchemy -- SQLAlchemy - The Python SQL Toolkit and Object Relational Mapper