def to_dict(self, num_recent=5):
        return {
            self.SIGNATURE_KEY: self.signature,
            self.HUMAN_NAME_KEY: self.human_name,
            self.THRESHOLD_KEY: self.threshold,
            "recent_signatures": self.events.recent_signatures(num_recent)
        }
Return a dictionary representation of this cats metadata
dataset/ETHPy150Open gmcquillan/firetower/firetower/category.py/Category.to_dict