def filter_by_logged_object(self):
        """
        Return query dictionary to search current object in ElasticSearch.
        Model may return custom query, but backend doesn't need to know details.
        """
        return {
            self.__class__.__name__ + '_uuid': self.uuid.hex
        }
dataset/ETHPy150Open opennode/nodeconductor/nodeconductor/logging/loggers.py/LoggableMixin.filter_by_logged_object/original