def set_vim_account(self, vim_account_id: str, update_dict: dict) -> bool:
try:
# Set vim_account resources in mongo
def set_vim_account(self, vim_account_id: str, update_dict: dict) -> bool:
try:
# Set vim_account resources in mongo
- modified_count = self.common_db.set_one("alarms", {"uuid": uuid}, {"alarm_status": alarm_state})
+ modified_count = self.common_db.set_one(
+ "alarms", {"uuid": uuid}, {"alarm_status": alarm_state}
+ )