简体   繁体   English

Python XML-RPC <struct> 数据类型

[英]Python XML-RPC <struct> data type

I'm having problem with data type in python. 我在python中遇到数据类型问题。 I run system.methodSignature('SearchInfo') , it returns [['array', 'struct']]. 我运行system.methodSignature('SearchInfo') ,它返回[['array','struct']]。 What should I put as the argument in SearchInfo() ? 我应该在SearchInfo()放置什么作为参数? And what is struct data type in xml-rpc? xml-rpc中的struct数据类型是什么?

Please help. 请帮忙。

Found out the way for <struct> data type for xmlrpc. 找出xmlrpc的<struct>数据类型的方法。 data type is like a dict type. 数据类型就像字典类型。

For my case, it's actually SearchInfo({'id' : 12345}) . 就我而言,它实际上是SearchInfo({'id' : 12345})

Good luck to whoever needing this information (: 对于需要此信息的人,祝您好运(:

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM