X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FNBI.git;a=blobdiff_plain;f=osm_nbi%2Fsubscriptions.py;fp=osm_nbi%2Fsubscriptions.py;h=91d2f2d1954f3af9902388d4dc3778f0019184d4;hp=1f172dde9138cf028bcfe1d145e3e90683e04772;hb=f2af4a100d308e07f355d61b94fb27d1ccc97aa2;hpb=838e4fb65f485469934a4dd895ca910470fa8beb diff --git a/osm_nbi/subscriptions.py b/osm_nbi/subscriptions.py index 1f172dd..91d2f2d 100644 --- a/osm_nbi/subscriptions.py +++ b/osm_nbi/subscriptions.py @@ -284,24 +284,22 @@ class SubscriptionThread(threading.Thread): else: op_state = params["operationState"] event_details = { - "topic": topic, - "command": command.upper(), - "params": params, - } + "topic": topic, + "command": command.upper(), + "params": params, + } subscribers = self.vnflcm.get_subscribers( - vnfd_id, - vnf_instance_id, - command.upper(), - op_state, - event_details - ) + vnfd_id, + vnf_instance_id, + command.upper(), + op_state, + event_details, + ) if subscribers: asyncio.ensure_future( - self.vnflcm.send_notifications( - subscribers, loop=self.loop - ), - loop=self.loop - ) + self.vnflcm.send_notifications(subscribers, loop=self.loop), + loop=self.loop, + ) elif topic == "nsi": if command == "terminated" and params["operationState"] in ( "COMPLETED",