On Jan 21, 2012, at 7:06 AM, George Sakkis wrote:

> Hi,
> 
> I found an older thread about using a bindparam with required=True
> (http://groups.google.com/group/sqlalchemy/tree/browse_frm/thread/
> cc0cafb0241c51da/a5fdd0aeefecd75c) but the example doesn't work for me
> on 0.7.4, it still passes None instead of raising an exception. Am I
> missing something or is it a regression?


it would need the patch in http://www.sqlalchemy.org/trac/ticket/2381 to work 
when there's no other params present.   I don't think it's a regression it's 
likely always been that way, the "required" feature wasn't originally tailored 
towards the SELECT use case, more the INSERT case where there's (usually) 
always params present.

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com.
To unsubscribe from this group, send email to 
sqlalchemy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en.

Reply via email to