- _filter = {"_admin.nsrs-detailed-list.ANYINDEX.nsrId": nss["nsrId"],
- "operational-status.ne": "terminated",
- "_id.ne": nsir_id}
- nsis_list = self.db.get_one("nsis", _filter, fail_on_empty=False, fail_on_more=False)
+ _filter = {
+ "_admin.nsrs-detailed-list.ANYINDEX.nsrId": nss["nsrId"],
+ "operational-status.ne": "terminated",
+ "_id.ne": nsir_id,
+ }
+ nsis_list = self.db.get_one(
+ "nsis", _filter, fail_on_empty=False, fail_on_more=False
+ )