def _notify_receiver(self, receiver, params, doc):
verb = VMAP[doc['<STR_LIT>']]<EOL>ns = doc['<STR_LIT>']<EOL>notification_id = Id(ns + '<STR_LIT>' + str(ObjectId()) + '<STR_LIT:@>' + params['<STR_LIT>'])<EOL>object_id = Id(ns + '<STR_LIT::>' + str(doc['<STR_LIT:o>']['<STR_LIT>']) + '<STR_LIT:@>' + params['<STR_LIT>'])<EOL>try:<EOL><INDENT>getattr(receiver, '<STR_LIT:_>'.join([verb, params['<STR_LIT>']]))(notification_id, [object_id])<EOL><DEDENT>except AttributeError:<EOL><INDENT>pass<EOL><DEDENT>return notification_id<EOL>
Send notification to the receiver