aboutsummaryrefslogtreecommitdiffstats
path: root/onap-client/onap_client/resource.py
diff options
context:
space:
mode:
Diffstat (limited to 'onap-client/onap_client/resource.py')
-rw-r--r--onap-client/onap_client/resource.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/onap-client/onap_client/resource.py b/onap-client/onap_client/resource.py
index ca5d675..cd7c677 100644
--- a/onap-client/onap_client/resource.py
+++ b/onap-client/onap_client/resource.py
@@ -36,7 +36,7 @@
# ============LICENSE_END============================================
from abc import ABC
from onap_client.exceptions import InvalidSpecException, ResourceAlreadyExistsException, ResourceCreationFailure
-from onap_client.client.clients import Client
+from onap_client.client.clients import get_client as Client
class Resource(ABC):
@@ -68,6 +68,9 @@ class Resource(ABC):
def _on_failure(self):
pass
+ def _output(self):
+ return None
+
@classmethod
def create_from_spec(cls, spec, submit=True):
instance = cls(**spec)