aboutsummaryrefslogtreecommitdiffstats
path: root/onap-client/onap_client/sdc/license_model.py
diff options
context:
space:
mode:
Diffstat (limited to 'onap-client/onap_client/sdc/license_model.py')
-rw-r--r--onap-client/onap_client/sdc/license_model.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/onap-client/onap_client/sdc/license_model.py b/onap-client/onap_client/sdc/license_model.py
index 52846c1..1fbcea2 100644
--- a/onap-client/onap_client/sdc/license_model.py
+++ b/onap-client/onap_client/sdc/license_model.py
@@ -37,7 +37,7 @@
from onap_client.lib import generate_dummy_string, generate_dummy_date
from onap_client.resource import Resource
-from onap_client.client.clients import Client
+from onap_client.client.clients import get_client as Client
class LicenseModel(Resource):
@@ -97,6 +97,9 @@ class LicenseModel(Resource):
license_model = self.oc.sdc.license_model.get_license_model(**self.attributes)
self.attributes["tosca"] = license_model.response_data
+ def _output(self):
+ return self.tosca
+
# TODO
# Break this up into class funcs?