Vick Peh
Vick Peh

Reputation: 67

Python XML-RPC <struct> data type

I'm having problem with data type in python. I run system.methodSignature('SearchInfo'), it returns [['array', 'struct']]. What should I put as the argument in SearchInfo()? And what is struct data type in xml-rpc?

Please help.

Upvotes: 1

Views: 790

Answers (1)

Vick Peh
Vick Peh

Reputation: 67

Found out the way for <struct> data type for xmlrpc. data type is like a dict type.

For my case, it's actually SearchInfo({'id' : 12345}).

Good luck to whoever needing this information (:

Upvotes: 2

Related Questions