[Zope] Passing Arguments to ZSQL Method from Python Script
   
    Chris Withers
     
    chrisw@nipltd.com
       
    Tue, 01 Oct 2002 15:23:11 +0100
    
    
  
Chris A. Bruce wrote:
> But here is the code that I am using, you will notice that the user
> attributes are NOT in the REQUEST object:
> 
> for user in context.Users.RegistrationInfo.objectValues("UserInfo"):
> 
>   context.sql_users_insert(user)
try this:
context.sql_users_insert(context.REQUEST,user=user)
> The sql_users_insert takes a bunch of parameters and the "user" object
> above is a ZClass with properties that have exact names as parameters
> for zsql method.
ZClasses, wow, you really are masochistic ;-)
*grinz*
Chris