<div dir="auto"><div>Hi Fabrice, </div><div dir="auto"><br></div><div dir="auto">I think you got proper explanation from Juan.</div><div dir="auto">I think you should indeed consider whether to use the sdk or not, depending on whether it fits your needs. </div><div dir="auto"><br></div><div dir="auto">Regards, </div><div dir="auto">Oved <br><div dir="auto"><br></div><br><div class="gmail_extra" dir="auto"><br><div class="gmail_quote">On Apr 9, 2017 12:14, "Fabrice Bacchella" <<a href="mailto:fabrice.bacchella@orange.fr">fabrice.bacchella@orange.fr</a>> wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><br><div><blockquote type="cite"><div class="quoted-text"><div>Le 6 avr. 2017 à 17:21, Ondra Machacek <<a href="mailto:omachace@redhat.com" target="_blank">omachace@redhat.com</a>> a écrit :</div><br class="m_2873475223647853896Apple-interchange-newline"></div><div class="quoted-text"><div><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 6, 2017 at 5:00 PM, Fabrice Bacchella <span dir="ltr"><<a href="mailto:fabrice.bacchella@orange.fr" target="_blank">fabrice.bacchella@orange.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Ho my good, in <a href="http://ovirtsdk.services.py/" target="_blank">ovirtsdk.services.py</a>, for every service, there is a different method with a different name that return a associated service, so it's not possible to have a generic like:<div><br></div><div>def resolve(service, ...):</div><div><span class="m_2873475223647853896m_-4816859605268981919Apple-tab-span" style="white-space:pre-wrap">        </span>id = .....</div><div><span class="m_2873475223647853896m_-4816859605268981919Apple-tab-span" style="white-space:pre-wrap">        </span>return service.service(id)</div><div><br></div><div>because the generic call service is used by something that take a path argument. But why not a service_by_id(self, id) ?<br></div></div></blockquote><div><br></div><div>I am not fully sure I understand what you are missing, but feel free to open<br>the bug on Python SDK in bugzilla, we will be happy to improve the SDK.<br></div></div></div></div></div></div></blockquote><br></div><div>I tried :</div><div><a href="https://bugzilla.redhat.com/show_bug.cgi?id=1439879" target="_blank">https://bugzilla.redhat.com/<wbr>show_bug.cgi?id=1439879</a></div><div><br></div><div>I hit a wall. it seems that some of you are not willing to improve the SDK.</div><br></div><br>______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/users</a><br>
<br></blockquote></div><br></div></div></div>