Did I find the right examples for you? yes no

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

src/p/r/Products.Silva-3.0.4/Products/Silva/Image/content.py   Products.Silva(Download)
    def get_filename(self):
        if self.hires_image is None:
            return self.getId()
        return self.hires_image.get_filename()
 
        new_image = getattr(self, identifier)
        new_image.set_file(stream, content_type)
        getUtility(IMimeTypeClassifier).guess_filename(new_image, self.getId())
        return new_image