def _run_namespace(self, doc):
for receiver in self.receivers[doc['<STR_LIT>']]:<EOL><INDENT>params = self.receivers[doc['<STR_LIT>']][receiver]<EOL>if params[doc['<STR_LIT>']]:<EOL><INDENT>if params[doc['<STR_LIT>']] is True or str(doc['<STR_LIT:o>']['<STR_LIT>']) in params[doc['<STR_LIT>']]:<EOL><INDENT>notification_id = self._notify_receiver(receiver, params, doc)<EOL>if params['<STR_LIT>'] and self._max_attempts > <NUM_LIT:1>:<EOL><INDENT>self.notifications[notification_id] = {<EOL>'<STR_LIT>': receiver,<EOL>'<STR_LIT>': dict(params),<EOL>'<STR_LIT>': dict(doc),<EOL>'<STR_LIT>': datetime.datetime.utcnow(),<EOL>'<STR_LIT>': <NUM_LIT:1>}<EOL><DEDENT><DEDENT><DEDENT><DEDENT>
Run through all receivers related to the doc's namespace