(self,source_url,num_articles,proxies_filename):proxies=self.read_proxies(proxies_filename)try:source=newspaper.build(source_url,memoize_articles=False)source.download()source.parse()articles_scraped=0forarticleinsource.articles:ifarticles_scraped>=num_articles:breakproxy=proxies.pop(0)ifproxieselse...
"lodash.memoize": "^4.1.2", "lodash.omit": "^4.5.0", "lodash.pick": "^4.4.0", "lodash.throttle": "^4.1.1", "lodash.uniqby": "^4.5.0", "lottie-ios": "3.4.1", "lottie-react-native": "^5.1.4", "moment": "2.27.0", "moment-timezone": "0.5.31", "patch-package":...
import@0.3.7 | +-- babel-preset-react-app@10.0.0 | | +-- @babel/core@7.12.3 deduped | | +-- @babel/plugin-proposal-class-properties@7.12.1 | | | +-- @babel/helper-create-class-features-plugin@7.12.1 | | | | +-- @babel/helper-function-name@7.10.4 deduped | | | | +-...
Version: webpack 4.44.1 This is the generated webpack configuration: { mode: 'development', context: '/home/wmertens/Projects/repo', devtool: 'cheap-module-source-map', entry: { app: [ 'stratokit/webpack/polyfills', 'stratokit/client' ] }, output: { filename: '[name]_[hash].js...
"memoize-one": "^5.0.4", "moment": "^2.22.2", "moment-timezone": "^0.5.27", "onecolor": "^3.1.0", "p-queue": "^6.1.1", "payform": "^1.2.2", "promise-throttle": "^1.0.0", "prop-types": "^15.7.0", "query-string": "^6.5.0", "react": "^16.8.1", "react...
"ant-design-pro": "^2.1.1", "antd": "3.26.4", "cheerio": "1.0.0-rc.2", "classnames": "^2.2.6", "core-js": "^2.6.5", "dva": "2.4.1", "file-saver": "2.0.1", "lodash": "^4.17.10", "lodash-decorators": "^6.0.0", "localStorage": "~1.0.3", "memoize-one":...
lodash.memoize@4.1.2 | | | | `-- lodash.uniq@4.5.0 | | | +-- postcss-selector-parser@2.2.3 | | | | +-- flatten@1.0.2 | | | | +-- indexes-of@1.0.1 | | | | `-- uniq@1.0.1 | | | `-- vendors@1.0.1 | | +-- postcss-minify-font-values@1.0.5 | | +-- ...
File "cupy/util.pyx", line 48, in cupy.util.memoize.decorator.ret File "cupy/core/_kernel.pyx", line 612, in cupy.core._kernel._get_ufunc_kernel File "cupy/core/_kernel.pyx", line 46, in cupy.core._kernel._get_simple_elementwise_kernel ...
classWhatever{fetch(uri:string):Promise<void>{}ensureFetched=MemoizedFunction<(uri:string)=>Promise<void>>=memoize((uri:string)=>this.fetch(uri))} I would like to omit type annotation forensureFetched frederickfogerty, estk, despairblue, megamaddu, dyst5422, voodooattack, bfricka, ds300, Ga...
Indeed, we used to memoize the request body, but that causes all sorts of problems (you always retain it, you can't really do proper streaming request bodies). I second @phadej's suggestion. Perhaps a middleware could help?Author chshersh commented Feb 10, 2019 • edited I understand ...