Change in ovirt-engine-sdk[sdk_4.1]: Import submodules into top level module

Code Review gerrit at ovirt.org
Thu May 4 14:12:31 UTC 2017


>From Ondra Machacek <omachace at redhat.com>:

Ondra Machacek has submitted this change and it was merged.

Change subject: Import submodules into top level module
......................................................................


Import submodules into top level module

This patch imports all of the submodules in SDK to the top
level module.

This has benefit that the readers/writers/types/services
can be used right after the top level sdk module import,
for example:

   import ovirtsdk4 as sdk
   vm = sdk.types.Vm()

Change-Id: Iff4f44ccb8cf9cc018c8bf37a8f229c3d32633bc
Signed-off-by: Ondra Machacek <omachace at redhat.com>
(cherry picked from commit 7971f9f706d77d78953d8f4656e1b59b97385f5c)
---
M sdk/lib/ovirtsdk4/__init__.py
1 file changed, 14 insertions(+), 0 deletions(-)

Approvals:
  Ondra Machacek: Verified; Looks good to me, approved
  Jenkins CI: Passed CI tests



-- 
To view, visit https://gerrit.ovirt.org/76453
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Iff4f44ccb8cf9cc018c8bf37a8f229c3d32633bc
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine-sdk
Gerrit-Branch: sdk_4.1
Gerrit-Owner: Ondra Machacek <omachace at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Ondra Machacek <omachace at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>


More information about the Engine-commits mailing list