I'm testing an API call with the python client. The return from the call
is a dictionary. Inside of that, there's a key "enabled" that should
either be true or false.

When it's true, the output reflects that:

[{'enabled': True, ...

When it's false, I'm not getting an entry for "enabled".

I took a look at the XML body of the response. For the true case, it's
sending:

<member>
   <name>enabled</name>
   <value>
       <boolean>1</boolean>
   </value>
</member>

For the false case, there is no entry.

Is there something special I have to do to send a boolean false across
the wire? This feels like something we'd have seen before.

Thanks,
- J


-- 
Jason Dobies ([EMAIL PROTECTED])
Senior Software Engineer
RHN Satellite & Spacewalk
IRC: jdob
Freenode: #spacewalk

_______________________________________________
Spacewalk-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-devel

Reply via email to