Falcon v3.0.0-b1 Documentationfactor = 2 while width // factor >= min_size and height // factor >= min_size: yield (width // factor, height // factor) factor *= 2 return [ f'/thumbnails/{self while width // factor >= min_size and height // factor >= min_size: yield (width // factor, height // factor) factor *= 2 return [ f'/thumbnails/{self writer.writerow((i, current)) previous, current = current, current + previous yield from stream.result stream.clear() def on_get(self, req, resp): resp.content_type0 码力 | 1028 页 | 725.86 KB | 1 年前3
Falcon v3.0.0 Documentationfactor = 2 while width // factor >= min_size and height // factor >= min_size: yield (width // factor, height // factor) factor *= 2 return [ f'/thumbnails/{self while width // factor >= min_size and height // factor >= min_size: yield (width // factor, height // factor) factor *= 2 return [ f'/thumbnails/{self writer.writerow((i, current)) previous, current = current, current + previous yield from stream.result stream.clear() def on_get(self, req, resp): resp.content_type0 码力 | 1055 页 | 739.30 KB | 1 年前3
Falcon v3.0.1 Documentationfactor = 2 while width // factor >= min_size and height // factor >= min_size: yield (width // factor, height // factor) factor *= 2 return [ f'/thumbnails/{self while width // factor >= min_size and height // factor >= min_size: yield (width // factor, height // factor) factor *= 2 return [ f'/thumbnails/{self writer.writerow((i, current)) previous, current = current, current + previous yield from stream.result stream.clear() def on_get(self, req, resp): resp.content_type0 码力 | 1058 页 | 741.59 KB | 1 年前3
Falcon v3.0.0-b2 Documentationfactor = 2 while width // factor >= min_size and height // factor >= min_size: yield (width // factor, height // factor) factor *= 2 return [ f'/thumbnails/{self while width // factor >= min_size and height // factor >= min_size: yield (width // factor, height // factor) factor *= 2 return [ f'/thumbnails/{self writer.writerow((i, current)) previous, current = current, current + previous yield from stream.result stream.clear() def on_get(self, req, resp): resp.content_type0 码力 | 1041 页 | 730.21 KB | 1 年前3
Falcon v3.0.0-b2 Documentationwidth, height = size factor = 2 while width // factor >= min_size and height // factor >= min_size: yield (width // factor, height // factor) factor *= 2 return [ f'/thumbnails/{self.image_id}/{width}x{height} width, height = size factor = 2 while width // factor >= min_size and height // factor >= min_size: yield (width // factor, height // factor) factor *= 2 return [ f'/thumbnails/{self.image_id}/{width}x{height} for i in range(n+1): writer.writerow((i, current)) previous, current = current, current + previous yield from stream.result stream.clear() (continues on next page) 70 Chapter 5. Documentation Falcon Documentation0 码力 | 340 页 | 1.15 MB | 1 年前3
Falcon v3.0.0 Documentationwidth, height = size factor = 2 while width // factor >= min_size and height // factor >= min_size: yield (width // factor, height // factor) factor *= 2 return [ f'/thumbnails/{self.image_id}/{width}x{height} width, height = size factor = 2 while width // factor >= min_size and height // factor >= min_size: yield (width // factor, height // factor) factor *= 2 return [ f'/thumbnails/{self.image_id}/{width}x{height} for i in range(n+1): writer.writerow((i, current)) previous, current = current, current + previous yield from stream.result stream.clear() (continues on next page) 70 Chapter 5. Documentation Falcon Documentation0 码力 | 344 页 | 1.16 MB | 1 年前3
Falcon v3.0.1 Documentationwidth, height = size factor = 2 while width // factor >= min_size and height // factor >= min_size: yield (width // factor, height // factor) factor *= 2 return [ f'/thumbnails/{self.image_id}/{width}x{height} width, height = size factor = 2 while width // factor >= min_size and height // factor >= min_size: yield (width // factor, height // factor) factor *= 2 return [ f'/thumbnails/{self.image_id}/{width}x{height} for i in range(n+1): writer.writerow((i, current)) previous, current = current, current + previous yield from stream.result stream.clear() (continues on next page) 70 Chapter 5. Documentation Falcon Documentation0 码力 | 344 页 | 1.16 MB | 1 年前3
Falcon v3.0.0-b1 Documentationwidth, height = size factor = 2 while width // factor >= min_size and height // factor >= min_size: yield (width // factor, height // factor) factor *= 2 return [ f'/thumbnails/{self.image_id}/{width}x{height} width, height = size factor = 2 while width // factor >= min_size and height // factor >= min_size: yield (width // factor, height // factor) factor *= 2 (continues on next page) 5.1. User Guide 55 Falcon for i in range(n+1): writer.writerow((i, current)) previous, current = current, current + previous yield from stream.result stream.clear() def on_get(self, req, resp): resp.content_type = 'text/csv' resp0 码力 | 338 页 | 1.14 MB | 1 年前3
Falcon v3.1.1-b3 Documentationwidth, height = size factor = 2 while width // factor >= min_size and height // factor >= min_size: yield (width // factor, height // factor) factor *= 2 return [ f'/thumbnails/{self.image_id}/{width}x{height} width, height = size factor = 2 while width // factor >= min_size and height // factor >= min_size: yield (width // factor, height // factor) factor *= 2 return [ f'/thumbnails/{self.image_id}/{width}x{height} for i in range(n+1): writer.writerow((i, current)) previous, current = current, current + previous yield from stream.result stream.clear() def on_get(self, req, resp): resp.content_type = 'text/csv' resp0 码力 | 378 页 | 1.29 MB | 1 年前3
Falcon v3.1.1-b1 Documentationwidth, height = size factor = 2 while width // factor >= min_size and height // factor >= min_size: yield (width // factor, height // factor) factor *= 2 return [ f'/thumbnails/{self.image_id}/{width}x{height} width, height = size factor = 2 while width // factor >= min_size and height // factor >= min_size: yield (width // factor, height // factor) factor *= 2 return [ f'/thumbnails/{self.image_id}/{width}x{height} for i in range(n+1): writer.writerow((i, current)) previous, current = current, current + previous yield from stream.result stream.clear() def on_get(self, req, resp): resp.content_type = 'text/csv' resp0 码力 | 378 页 | 1.29 MB | 1 年前3
共 39 条
- 1
- 2
- 3
- 4













