From: Daniel Arndt Date: Fri, 7 Jul 2023 15:28:25 +0000 (-0300) Subject: Update incorrect GetVnfRecord docstrings X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=63c7ce8974a2d4ae295b5d61a81386bf6af734f2;p=osm%2Fcommon.git Update incorrect GetVnfRecord docstrings Change-Id: Id54ffae045bb8e70956b43915338513876b06c98 Signed-off-by: Daniel Arndt --- diff --git a/.gitignore b/.gitignore index a022457..630972c 100644 --- a/.gitignore +++ b/.gitignore @@ -90,3 +90,4 @@ __pycache__/ .pydevproject deb_dist *.tar.gz +.local diff --git a/osm_common/temporal/activities/vnf.py b/osm_common/temporal/activities/vnf.py index 81f2982..0c5b22e 100644 --- a/osm_common/temporal/activities/vnf.py +++ b/osm_common/temporal/activities/vnf.py @@ -123,7 +123,7 @@ class GetVnfRecord(BaseActivity): """Gets the VNF record and VNF descriptor from Database. Collaborators: - DB read: vnfrs, vnfds + DB read: vnfrs Raises (retryable): DbException: If DB read operations fail, the collection or DB record ID does not exist. @@ -160,9 +160,8 @@ class GetVnfRecord(BaseActivity): Attributes: ----------- - vnf_details: list[(vnfr_ids: str, vnf_member_index_ref: str), .. ] - List of tuples including VNF details associated with the NS. - Tuple(VNF record IDs, vnf_member_index_ref) + vnfr: dict + The VNF record """ vnfr: dict