[ovirt-users] SKD4

Fabrice Bacchella fabrice.bacchella at orange.fr
Thu Apr 6 18:17:28 UTC 2017


> Le 6 avr. 2017 à 17:21, Ondra Machacek <omachace at redhat.com> a écrit :
> 
> 
> 
> On Thu, Apr 6, 2017 at 5:00 PM, Fabrice Bacchella <fabrice.bacchella at orange.fr <mailto:fabrice.bacchella at orange.fr>> wrote:
> Ho my good, in ovirtsdk.services.py <http://ovirtsdk.services.py/>, 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:
> 
> def  resolve(service, ...):
> 	id = .....
> 	return service.service(id)
> 
> because the generic call service is used by something that take a path argument. But why not a service_by_id(self, id) ?
> 
> I am not fully sure I understand what you are missing, but feel free to open
> the bug on Python SDK in bugzilla, we will be happy to improve the SDK.
>  

Done, with a first idea for what might be needed:

https://bugzilla.redhat.com/show_bug.cgi?id=1439879 <https://bugzilla.redhat.com/show_bug.cgi?id=1439879>



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20170406/7c546c82/attachment.html>


More information about the Users mailing list