小新
小新
I'd like to contribute this project, also I found that there are some pull request opened nearly one year, and some issues yet not resolved. I think that quickly response...
@lupupu 这个是 Python 中变量作用域的问题,和 Keras 本身无关,你可以尝试一下下面这个代码: ``` def add(a, b): return c + d // first print print(add(1, 2)) c = 2 d = 5 // second print print(add(1, 2))...
same issues on mac: ``` Test Suites: 3 failed, 3 total Tests: 9 failed, 3 passed, 12 total Snapshots: 2 updated, 3 passed, 5 total Time: 9.285s Ran all test...
I made some changes to the cmake build file, so that the build result is portable. maybe you can wait for #169 to be merged or changed locally to have...
> 但是如果没有errorHandler 方法,我http层的请求又补货不到,这个有点让人感觉到麻烦,如果有了这项功能,我觉得会比 axios完美太多了。 @world56 没有 errorHandler 时, HTTP 层的请求捕获不到是什么场景,当前版本的第一层拦截器里面拿到的就是原生的响应(包括 HTTP 状态码、Response Headers 以及响应的类型等等,具体可以看文档描述 https://github.com/umijs/umi-request/blob/master/README_zh-CN.md#%E5%93%8D%E5%BA%94%E7%BB%93%E6%9E%84 ),还是说之前的版本不支持获取原始响应?
当 `requestInterceptors`、`responseInterceptors` 或者其他 `middlewares` 代码执行过程中遇到错误时抛出的异常,包括 `Promise.reject` 或者 `throw new Error("xxx")` 都会被 `errorHandler` 所捕获。 如果中间件没有做特殊处理的话,只有网络请求本身发生错误 errorHandler 中获取到的才是 ResponseError 类型;否则捕获到的是 Promise.reject 或者 throw 抛出的内容
是否需要更新缓存可以通过动态传入 useCache 选项来控制,例如: ``` request.get("/xxx", {useCache: !needUpdate}) ``` --- umi-request 内部是否使用缓存的判断逻辑可以参考 https://github.com/umijs/umi-request/blob/50197be3c854f7480713d407f16209adc1134aa9/src/middleware/fetch.js#L45
Is there any plan to release the next version, I notice `ckeditor4-integrations-common` 1.0 has remove the dependence of `load-script`, and I want the version without `load-script`. Thanks 😀.