Did I find the right examples for you? yes no

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/m/a/mathblogging-HEAD/main.py   mathblogging(Download)
    def write_page_to_datastore(self):
        content = self.generatePage()
        x = Stored_Page()
        x.html_content = content
        x.name = self.cacheName
    def get(self):
        content = None
        if self.cacheName == "": ## the empty string as cacheName turns off caching (e.g. PlanetTAG)
            logging.info("Caching turned off for: " + self.cacheName)
            content = self.generatePage()