def cache(self, hash_name, key):

        try:
            serialized = Serialize_Model(self.model).serialize()
            self.myRedis.hset(hash_name, key, serialized)
        except Exception, error:
            self.list_error.append(str(error))
            print self.list_error
Calling :func:`publish_docs` updates the routing rules for the
dataset/ETHPy150Open jeff1evesque/machine-learning/brain/cache/cache_model.py/Cache_Model.cache--crossover with--dataset/ETHPy150Open ClusterHQ/flocker/admin/test/test_release.py/PublishDocsTests.test_updated_routing_rules_production