
Juan Hernandez has submitted this change and it was merged. Change subject: Add connection builder and automatic closing ...................................................................... Add connection builder and automatic closing This patch adds a new "ConnectionBuilder" class that simplifies the task of creating multiple connections with the same parameters. It also adds implementations of the "__enter__" and "__exit__" methods to the "Connection" class, as this will be typically combined with the use of multiple connections. Change-Id: I0cd00228dcd1671b16edbefb1dd23c9c3932bd0f Signed-off-by: Juan Hernandez <juan.hernandez@redhat.com> --- A sdk/examples/connection_builder.py M sdk/lib/ovirtsdk4/__init__.py M sdk/lib/ovirtsdk4/http.py 3 files changed, 101 insertions(+), 0 deletions(-) Approvals: Juan Hernandez: Verified; Looks good to me, approved Jenkins CI: Passed CI tests -- To view, visit https://gerrit.ovirt.org/54662 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I0cd00228dcd1671b16edbefb1dd23c9c3932bd0f Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine-sdk Gerrit-Branch: master Gerrit-Owner: Juan Hernandez <juan.hernandez@redhat.com> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Juan Hernandez <juan.hernandez@redhat.com> Gerrit-Reviewer: gerrit-hooks <automation@ovirt.org>