Update incorrect GetVnfRecord docstrings 52/13652/2
authorDaniel Arndt <daniel.arndt@canonical.com>
Fri, 7 Jul 2023 15:28:25 +0000 (12:28 -0300)
committerarndtd <daniel.arndt@canonical.com>
Fri, 7 Jul 2023 15:47:41 +0000 (17:47 +0200)
Change-Id: Id54ffae045bb8e70956b43915338513876b06c98
Signed-off-by: Daniel Arndt <daniel.arndt@canonical.com>
.gitignore
osm_common/temporal/activities/vnf.py

index a022457..630972c 100644 (file)
@@ -90,3 +90,4 @@ __pycache__/
 .pydevproject
 deb_dist
 *.tar.gz
+.local
index 81f2982..0c5b22e 100644 (file)
@@ -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