Michael Pasternak has submitted this change and it was merged.
Change subject: sdk: implement support for with-resources statement
......................................................................
sdk: implement support for with-resources statement
with API(url='', ...) as api:
api...
Change-Id: I7e6f70355e8379cdddefa31d9e77452aa719fe0d
Signed-off-by: Michael pasternak <mpastern(a)redhat.com>
---
M src/codegen/templates/entrypointmethodstemplate
M src/ovirtsdk/api.py
2 files changed, 13 insertions(+), 1 deletion(-)
Approvals:
Michael Pasternak: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/18540
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I7e6f70355e8379cdddefa31d9e77452aa719fe0d
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine-sdk
Gerrit-Branch: master
Gerrit-Owner: Michael Pasternak <mpastern(a)redhat.com>
Gerrit-Reviewer: Michael Pasternak <mpastern(a)redhat.com>