It worked!

However, using the pyamf, the client, is the following message:

NameError: global name 'address' is not defined

Thanks,

Heronim



mdipierro escreveu:
> My bad. Had a typo:
>
> def my_insert(**vsql):
>      db.people.insert(**vsql)
> my_insert(name='Carl',address='av none 1')
>
> no self unless my_insert is a method
>
> class A:
>      def my_insert(self,**vsql):
>          db.people.insert(**vsql)
> a=A()
> a.my_insert(name='Carl',address='av none 1')
>
>
>
> On Nov 13, 7:31 am, Heronim <[EMAIL PROTECTED]> wrote:
>   
>> Yes, I read.
>> I did what I said is happening but the following message:
>>
>> "TypeError: insert() takes exactly 1 argument (2 given)"
>>
>> "Thanks,
>>
>> Heronim
>>     
> >
>
>   

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to