On 29 May 2014 07:03, Neil Williams <codeh...@debian.org> wrote:
> On Thu, 29 May 2014 14:30:26 +0100
> Neil Williams <codeh...@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)
>>

The examples you gave me worked :)

>> This does enforce strict variable ordering, I'm not sure why.
>>
>> https://docs.python.org/2/library/xmlrpclib.html
>
> 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.

Thanks for looking into this, Neil. It would be helpful to have this
note added to the LAVA API documentation. I'll have to read up more on
XML RPC stuff.

_______________________________________________
linaro-validation mailing list
linaro-validation@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-validation

Reply via email to