Change-Id: I1c9bb675d7eab2706afa23af75557896caa73396
Signed-off-by: Daniel Arndt <daniel.arndt@canonical.com>
)
from temporalio import activity
+from osm_lcm.data_utils.database.database import Database
+
class NsOperations:
def __init__(self, db):
db (object): Data Access Object
"""
- def __init__(self, db):
- self.db = db
+ def __init__(self, db: Database):
+ self.db: Database = db
self.logger = logging.getLogger(f"lcm.act.{self.__class__.__name__}")
@activity.defn(name=ACTIVITY_UPDATE_NS_STATE)