Hi Mayank,

On Wed, 2008-10-01 at 02:49 -0700, monks wrote:
> hello all
> Im trying to call ZSQL method with 1 argument from my Python script like:
>        " context.Intranet(end_dt=end_a1) "
> Isn't this the right way to call ??

No, this isn't the right way to call a ZSQL script. If you have a look
at the ZSQL documentation available on zope.org (iirc) the arguments you
specify in a ZSQL method are sourced either via acquisition (on the
container/etc) or from the REQUEST, i.e. you don't specify them when you
call the method.

HTH,
Tim

> Also, without arguments, its working fine !!
> 
> thanks
>     
> 
> 
> -----
> 
> Regards,
> Mayank


_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to