scout/adapter/mongo/event.py
def delete_event(self, event_id):
        """Delete a event

            Arguments:
                event_id (str): The database key for the event
        """
        LOG.info("Deleting event{0}".format(event_id))
        if not isinstance(event_id, ObjectId):
            event_id = ObjectId(event_id)
        self.event_collection.delete_one({'_id': event_id})
        LOG.debug("Event {0} deleted".format(event_id))
def delete_event(self, event_id):
        """Delete a event

            Arguments:
                event_id (str): The database key for the event
        """
        LOG.info("Deleting event{0}".format(event_id))
        if not isinstance(event_id, ObjectId):
            event_id = ObjectId(event_id)
        self.event_collection.delete_one({'_id': event_id})
        LOG.debug("Event {0} deleted".format(event_id))
Delete a event

            Arguments:
                event_id (str): The database key for the event