On Thu, 29 May 2014 14:30:26 +0100 Neil Williams codehelp@debian.org wrote:
On Tue, 27 May 2014 15:44:10 -0700
get_filter_results(filter_name, count=10, offset=0)
I get working results with:
print "filter results: %s\n" % server.dashboard.get_filter_results(filter_name, 2)
This does enforce strict variable ordering, I'm not sure why.
OK, misread the docs on that.
XMLRPC does not support passing parameters by name, only by position.
http://xmlrpc.scripting.com/spec.html
If the procedure call has parameters, the <methodCall> must contain a <params> sub-item. The <params> sub-item can contain any number of <param>s, each of which has a <value>.
i.e. only value, not a name and a value.
xmlrpclib is a python implementation of the XMLRPC spec which supports C and other languages, so language-specific syntax is not supported.
**kwargs fails for the same reason.
A note on this could be added to the LAVA API documentation.