[Zope] calling SQL methods from Scripts(Python)

Dennis Allison allison@sumeru.stanford.EDU
Sun, 14 Jul 2002 16:05:56 -0700


I thought they would behave as a variation on methods, but they don't 
seem to find the keyword parameters.  For example, I have a query on 
a single key

request = container.REQUEST
RESPONSE =  request.RESPONSE
container.PhotoUpdate(context,request, user_id='STUD00001' )
return 0

where PhotoUpdate is a simple SQL query object.    I thought 
the call would be the same as for a DTML-method, but I suspect 
now I am wrong.  What's the correct form.