> Le 6 avr. 2017 à 17:21, Ondra Machacek <omach...@redhat.com> a écrit : > > > > On Thu, Apr 6, 2017 at 5:00 PM, Fabrice Bacchella > <fabrice.bacche...@orange.fr <mailto:fabrice.bacche...@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>
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users